Closest web-safe match: #003366

Color Details and Palettes for #0B2E4F

Details about the color Midnight Ocean#0B2E4F

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

Azure family Cool WCAG ink: white
HEX #0B2E4F RGB rgb(11, 46, 79) HSL hsl(209, 76%, 18%) CMYK cmyk(86%, 42%, 0%, 69%)

Color profile

About Color Hex #0B2E4F

#0B2E4F is a cool color from the Azure family, closest in name to “Midnight Ocean”. In RGB it is rgb(11, 46, 79); in HSL, hsl(209, 76%, 18%).

The color Midnight Ocean, with hexadecimal code #0b2e4f, 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 76% saturation, this color is clearly chromatic yet balanced—colorful enough to be distinctive without overwhelming adjacent content. At only 18% lightness, this extremely dark shade approaches black, delivering maximum drama and contrast when paired with lighter elements. 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 11, 46, 79 red · green · blue HSL 209° 76% 18% hue · sat · light HSV 209° 86% 31% design-app pickers CMYK 86 42 0 69 print inks, % Luminance 0.026 0 dark → 1 light On black 1.52:1 ✕ AA contrast ratio On white 13.83: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 #0B2E4F

Midnight Ocean (#0B2E4F) 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 209°), it promotes a feeling of calm distance and intellectual clarity, which is why cool hues dominate corporate identities, healthcare design, and productivity tools. With 76% 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 18% 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

#0B2E4F 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
#0B2E4F

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(11, 46, 79)

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(209, 76%, 18%)

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(209, 86%, 31%)

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(209 4% 69%)

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(86%, 42%, 0%, 69%)

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(29.57% 0.072 250.66)

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

OKLab Modern
oklab(29.57% -0.024 -0.068)

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: 18.32, a: 1.29, b: -23.76

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

LCH Perceptual
L: 18.32, C: 23.80, H: 273.10

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.53, Y: 2.59, Z: 7.76

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
732751

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 #0B2E4F

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

Red 11/255 8.1% Green 46/255 33.8% Blue 79/255 58.1%

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

Ink coverage

CMYK Ink Levels & Print Guide for #0B2E4F

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

86% CYAN 42% MAGENTA 0% YELLOW 69% 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 #0B2E4F

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

Relative luminance 0.026
0 · dark1 · light

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

Aa Black text 1.52:1 ✕ AA ✕ AAA ✕ Large
Aa White text 13.83:1 ✓ AA ✓ AAA ✓ Large

Developer shortcuts

Quick CSS Snippets for #0B2E4F

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

midnight-ocean.css
background-color: #0B2E4F;
color: #0B2E4F;
border: 2px solid #0B2E4F;
background-color: rgb(11, 46, 79);
background-color: hsl(209, 76%, 18%);
--color: #0B2E4F;

Shades · light to dark

#0B2E4F Monochrome Palette

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

#E7EAED
#C2CBD3
#9DABB9
#798C9E
#546D84
#304D69
#0B2E4F
#092743
#082037
#06192B
#041220
#030C14
#010508

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

Harmony · 180° apart

#0B2E4F Complementary Palette

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

#0B2E4F
#512D0B

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

Harmony · adjacent hues

#0B2E4F Analogic Palette

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

#0B2E4F
#0B0C51
#0B5150
#2D0B51
#0B512D
#500B51
#0C510B

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

Harmony · 120° apart

#0B2E4F Triadic Palette

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

#0B2E4F
#510B2F
#2F510B

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

Harmony · 90° apart

#0B2E4F Quad Palette

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

#0B2E4F
#500B51
#512D0B
#0C510B

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

Accessibility

Color Blindness Simulation for #0B2E4F

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

#0B2E4F
#181545
#1A1A47
#0D413F
#292929
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 #0B2E4F

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

#512D0B
#0B0C51
#510B2F
#500B51
Complementary opposite hue Analogous adjacent hue Triadic 120° apart Tetradic (Quad) 90° apart

Perceptually nearby

#0B2E4F Nearby Colors

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

Midnight Escapade#223355
Midnight Mirage#002244
Forlorn Cruise#334466
Squid’s Ink#001133
Beyond the Stars#003355
Blue Whale#223344
Black Market#222244
Neptune’s Dream#113366

From the color-name library

Colors Similar to #0B2E4F

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

Midnight Ocean#0F2D4D
Beyond the Stars#0A3251
Marine#042E60
Neptune’s Dream#003368
Sea of Stars#0B334D
Lost in Space#03386A
Poseidon#143C5D
Midnight Mirage#001F3F
Nautilus#273C5A
Subnautical#012253
Mythical Night#1C2E63
Tardis Blue#003B6F

Looking for more Blue shades? Browse Blue colors →

Inspiration

Explore Vibrant Images Featuring Midnight Ocean (#0b2e4f)

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 #0B2E4F

#0B2E4F 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(11, 46, 79); in HSL, hsl(209, 76%, 18%).
In RGB, #0B2E4F is rgb(11, 46, 79); in HSL it is hsl(209, 76%, 18%); and in CMYK — the model used for print — it is cmyk(86%, 42%, 0%, 69%).
#0B2E4F has a contrast ratio of 1.52:1 against black and 13.83: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 #0B2E4F is #512D0B (opposite on the color wheel). For ready-made combinations, this page includes monochrome, analogous, triadic and tetradic palettes built from #0B2E4F in the palette sections above.