Huebook

Midnight Ocean

Midnight Ocean is a very dark, saturated blue color with the hex code #0F2D4D (hue 211°, saturation 67%, lightness 18%).

#0F2D4D
NameHEXRGBHSLCMYKOKLCH
Midnight Ocean#0F2D4D15, 45, 77211°, 67%, 18%81, 42, 0, 7029.3% 0.069 252

Contrast with white text 13.97:1, with black text 1.50:1 — use white text on Midnight Ocean.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Midnight Ocean

Move the sliders to make Midnight Ocean lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Midnight Ocean
  • HEX#0F2D4D
  • RGBrgb(15 45 77)
  • HSLhsl(211 67% 18%)

Variations of Midnight Ocean

Text on Midnight Ocean

White textThe quick brown fox13.97:1 · AA pass · AAA pass
Black textThe quick brown fox1.50:1 · AA fail · AAA fail

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Midnight Ocean with color blindness

Normal #0F2D4D
Protanopia #1E2F4E
Deuteranopia #15294C
Tritanopia #003539

How Midnight Ocean appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#D4E5F7
#94BEEA
#5497DE
#2570C0
#194B80
#0C2540

Colors that go with Midnight Ocean

Six color schemes built on Midnight Ocean with classic harmony rules. The complementary scheme pairs it with Bavarian Sweet Mustard (#4D3113), the color opposite it on the color wheel.

Nearest CSS named colors

Similar very dark blue colors

Questions

What is the hex code for Midnight Ocean?

#0F2D4D — RGB 15, 45, 77, HSL 211°, 67%, 18%.

Is Midnight Ocean a warm or cool color?

Cool — its hue sits at 211° on the color wheel.