Closest web-safe match: #003366

Color Details and Palettes for #152F55

Details about the color Midnight Ocean#152F55

Conversions, palettes, contrast & design ideas for this color.

Azure family Cool WCAG ink: white
HEX #152F55 RGB rgb(21, 47, 85) HSL hsl(216, 60%, 21%) CMYK cmyk(75%, 45%, 0%, 67%)

Color profile

About Color Hex #152F55

#152F55 is a cool color from the Azure family, closest in name to “Midnight Ocean”. In RGB it is rgb(21, 47, 85); in HSL, hsl(216, 60%, 21%).

The color Midnight Ocean, with hexadecimal code #152f55, belongs to the blue color family, the world's most universally preferred hue. Blue projects trust, stability, and intellectual calm, which is why it dominates corporate, financial, and technology branding worldwide. Additionally, it evokes emotions such as Trust, Peace, Loyalty, Integrity and Tranquility. Blue signifies tranquility and stability. In Middle Eastern cultures, it can also represent protection against the evil eye, while in Western cultures, it symbolizes calmness and reliability. At 60% saturation, this color is clearly chromatic yet balanced—colorful enough to be distinctive without overwhelming adjacent content. Its low lightness of 21% produces a deep, rich appearance—conveying gravity and luxury, particularly effective in dark-mode designs and premium packaging. This color is ideal for designs that aim to express Trust, Peace, Loyalty, Integrity, or Tranquility. It can be effectively used in web design, branding, and marketing materials to attract attention and convey specific messages.

Key facts

RGB 21, 47, 85 red · green · blue HSL 216° 60% 21% hue · sat · light HSV 216° 75% 33% design-app pickers CMYK 75 45 0 67 print inks, % Luminance 0.028 0 dark → 1 light On black 1.57:1 ✕ AA contrast ratio On white 13.38:1 ✓ AA contrast ratio Web-safe #003366 closest web-safe Best text white ideal foreground Character Vivid cool · azure family

The story of this color

History, Usage, Psychology & Design Ideas for #152F55

Midnight Ocean (#152F55) belongs to the Azure color family.

This deep, saturated shade conveys authority and richness. Deep tones are favored in luxury packaging, evening-event branding, and dark-mode interfaces where they provide dramatic contrast against lighter elements.

Historical Background

Azure derives from the Arabic lazaward, referring to the lapis lazuli stone that yielded ultramarine pigment—once more costly per ounce than gold. Medieval European painters reserved ultramarine for the most sacred subjects, particularly the Virgin Mary's robes. The word azure also entered heraldry as the term for blue fields on coats of arms, symbolizing loyalty and truth.

Design & Usage Tips

Azure strikes a balance between the brightness of cyan and the depth of blue, making it a versatile choice for technology, aviation, and financial brands (Microsoft Azure is a prominent example). Pair azure with white for authority and clarity, or with light gold for a regal combination.

Sitting on the cool side of the spectrum (hue 216°), it promotes a feeling of calm distance and intellectual clarity, which is why cool hues dominate corporate identities, healthcare design, and productivity tools. With 60% saturation, it occupies a comfortable middle ground: colorful enough to be distinctive, yet restrained enough for extended reading or large surface areas.

Psychological Impact

Azure evokes trust, aspiration, and openness—like a clear sky. It feels less corporate than navy and more refined than bright blue, hitting a sweet spot for brands that want to appear both professional and approachable.

Its low lightness of 21% gives it a deep, intense presence. Deep tones like this excel as dark-mode backgrounds, header bars, and anywhere a sense of gravity or luxury is desired.

Creative Design Ideas

Use azure as the primary brand color with charcoal text for a clean SaaS identity. Create split-screen layouts with an azure panel on one side and white on the other for impactful above-the-fold sections. In icon design, azure provides excellent visibility against both light and dark backgrounds.

Every format

#152F55 Color Conversions

Every way to write Midnight Ocean — one-tap copy on every format; tap on any card to learn what it is and when to use it.

12 formats
HEX Web
#152F55

Hexadecimal is the web’s universal color notation — two digits each for red, green and blue. Drop it straight into HTML, CSS or any design tool.

RGB Screen
rgb(21, 47, 85)

RGB is the additive Red-Green-Blue model every screen uses to emit light. The default choice for websites, apps and on-screen UI.

HSL Web
hsl(216, 60%, 21%)

HSL breaks a color into Hue, Saturation and Lightness — the most intuitive way to lighten, darken or mute a color in CSS.

HSV HSB Design
hsv(216, 75%, 33%)

HSV (also called HSB) maps Hue, Saturation and Value/Brightness. It is the model behind the color pickers in Photoshop, Figma and most design apps.

HWB CSS 4
hwb(216 8% 67%)

HWB blends a pure hue with Whiteness and Blackness — a painter-friendly model added in CSS Color 4 for quick tints and shades.

CMYK Print
cmyk(75%, 45%, 0%, 67%)

CMYK is the subtractive Cyan-Magenta-Yellow-Black ink model. Use these values when preparing artwork for a printer or commercial press.

OKLCH Modern
oklch(30.67% 0.076 257.98)

OKLCH is a modern, perceptually-uniform space (Lightness, Chroma, Hue). It powers smooth gradients and accessible palettes in today’s CSS.

OKLab Modern
oklab(30.67% -0.016 -0.074)

OKLab is the Cartesian form of OKLCH — ideal for blending and interpolating colors without the muddy midpoints older spaces produce.

CIELAB L*a*b* Perceptual
L: 19.43, a: 4.71, b: -26.00

CIELAB is a device-independent, perceptually-uniform space. It is the standard for measuring color difference (ΔE) and matching across devices.

LCH Perceptual
L: 19.43, C: 26.43, H: 280.26

LCH is CIELAB in cylindrical form — Lightness, Chroma and Hue — letting you adjust vividness and hue while staying perceptually even.

XYZ CIE Science
X: 2.97, Y: 2.85, Z: 8.99

CIE XYZ is the 1931 master space that underpins every other model here — the scientific bridge used to convert between color systems.

Decimal int Code
1388373

The 24-bit integer value of the color — handy for databases, APIs, game engines and low-level graphics code.

Channel breakdown

RGB Color Percentages for #152F55

How much red, green and blue light mixes into Midnight Ocean.

Red 21/255 13.7% Green 47/255 30.7% Blue 85/255 55.6%

Percentages show each channel's share of the total light (R + G + B) in Midnight Ocean.

Ink coverage

CMYK Ink Levels & Print Guide for #152F55

Ink needed to reproduce Midnight Ocean in four-color print. Heaviest ink: Cyan.

75% CYAN 45% MAGENTA 0% YELLOW 67% KEY

Print tip: treat these values as a starting point — final output depends on printer profile, paper stock and calibration.

Accessibility · WCAG

Luminance & Contrast for #152F55

How bright Midnight Ocean is, and how far black and white text clear each WCAG bar.

Relative luminance 0.028
0 · dark1 · light

Contrast ratio · 1:1 → 21:1 (log scale)

Aa Black text 1.57:1 ✕ AA ✕ AAA ✕ Large
Aa White text 13.38:1 ✓ AA ✓ AAA ✓ Large

Developer shortcuts

Quick CSS Snippets for #152F55

Copy-and-paste CSS for Midnight Ocean — per-line copy, or grab the whole block.

midnight-ocean.css
background-color: #152F55;
color: #152F55;
border: 2px solid #152F55;
background-color: rgb(21, 47, 85);
background-color: hsl(216, 60%, 21%);
--color: #152F55;

Shades · light to dark

#152F55 Monochrome Palette

Lighter and darker steps of Midnight Ocean — the color's full brightness range in one strip.

#E8EAEE
#C5CBD5
#A1ACBB
#7E8DA2
#5B6D88
#384E6F
#152F55
#122848
#0F213B
#0C1A2F
#081322
#050C15
#020509

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 180° apart

#152F55 Complementary Palette

Two colors opposite on the wheel — maximum contrast for attention-grabbing accents.

#152F55
#563C15

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · adjacent hues

#152F55 Analogic Palette

Neighboring hues on the wheel — harmonious, calm combinations that feel unified.

#152F55
#1C1556
#154F56
#3C1556
#15563C
#56154F
#15561C

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 120° apart

#152F55 Triadic Palette

Three colors evenly spaced on the wheel — vibrant and energetic, yet balanced.

#152F55
#56152F
#2F5615

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 90° apart

#152F55 Quad Palette

Four colors evenly spaced on the wheel (tetradic) — rich schemes with multiple accents.

#152F55
#56154F
#563C15
#15561C

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Accessibility

Color Blindness Simulation for #152F55

How Midnight Ocean reads across five kinds of color vision — a ✓ Friendly verdict means the color difference stays distinguishable for that vision type.

#152F55
#1F1D4A
#20204C
#164543
#2C2C2C
Normal vision full color Deuteranopia green weakness ✓ Friendly Protanopia red weakness ✓ Friendly Tritanopia blue-yellow weakness ✓ Friendly Achromatopsia total color blindness ✓ Friendly

The dot marks the original color. Hover any shade to copy its hex.

Harmony overview

Color Harmonies for #152F55

The lead color from each harmony scheme, side by side — a shortcut to the full palettes above.

#563C15
#1C1556
#56152F
#56154F
Complementary opposite hue Analogous adjacent hue Triadic 120° apart Tetradic (Quad) 90° apart

Perceptually nearby

#152F55 Nearby Colors

A step away in brightness, richness or shade — each still feels like the same color.

Pretty Twilight Night#224466
Midnight Mirage#002244
Space Missions#334477
Squid’s Ink#001133
Neptune’s Dream#003366
Blue Whale#223344
Midnight Escapade#223355
Beyond the Stars#003355

From the color-name library

Colors Similar to #152F55

The closest named colors to #152F55 — same mood, each with its own character.

Midnight Ocean#0F2D4D
Marine#042E60
Mythical Night#1C2E63
Neptune’s Dream#003368
Space Cadet#1D2951
Beyond the Stars#0A3251
Atlantic Navy#13336F
Subnautical#012253
Lost in Space#03386A
Midnight Escapade#2B3458
Dark Eclipse#112244
Nautilus#273C5A

Looking for more Blue shades? Browse Blue colors →

Inspiration

Explore Vibrant Images Featuring Midnight Ocean (#152f55)

Curated Unsplash photos that carry the mood of Midnight Ocean — hover any tile to download it or view the original.

Good to know

Frequently Asked Questions about #152F55

#152F55 is a cool color from the Azure family. Its closest matched name is “Midnight Ocean”, matched perceptually with the CIEDE2000 color-difference formula. In RGB it is rgb(21, 47, 85); in HSL, hsl(216, 60%, 21%).
In RGB, #152F55 is rgb(21, 47, 85); in HSL it is hsl(216, 60%, 21%); and in CMYK — the model used for print — it is cmyk(75%, 45%, 0%, 67%).
#152F55 has a contrast ratio of 1.57:1 against black and 13.38:1 against white. For readability, white body text meets the WCAG AA threshold of 4.5:1 on it, while black does not.
The direct complement of #152F55 is #563C15 (opposite on the color wheel). For ready-made combinations, this page includes monochrome, analogous, triadic and tetradic palettes built from #152F55 in the palette sections above.