Midnight Ocean
Midnight Ocean is a very dark, saturated blue color with the hex code #0F2D4D (hue 211°, saturation 67%, lightness 18%).
- HEX
#0F2D4D - RGB
rgb(15 45 77) - HSL
hsl(211 67% 18%) - OKLCH
oklch(29.3% 0.069 252)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Midnight Ocean | #0F2D4D | 15, 45, 77 | 211°, 67%, 18% | 81, 42, 0, 70 | 29.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.
- HEX
#0F2D4D - RGB
rgb(15 45 77) - HSL
hsl(211 67% 18%)
Variations of Midnight Ocean
Text on Midnight Ocean
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
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
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.
- Midnight Ocean Complementary Color Scheme#0F2D4D#1C5798#4D3113#1C1208#A46422
- Midnight Ocean Analogous Color Scheme#1A4C32#0E4D4E#0F2D4D#111155#2D0F47
- Midnight Ocean Triadic Color Scheme#0F2D4D#43182F#2F4A15#255BA2#180614
- Midnight Ocean Split-complementary Color Scheme#0F2D4D#4A120D#444411#0B0F1A#921A1C
- Midnight Ocean Tetradic Color Scheme#0F2D4D#4C1050#4D3113#0A480D#255BA2
- Midnight Ocean Monochromatic Color Scheme#0B0F1A#0B0F1A#0F2D4D#1A5091#2277CC
Nearest CSS named colors
- Midnight Blue (
midnightblue): Midnight Blue (#191970) is darker than Midnight Ocean (relative luminance 0.021 vs 0.025) and equally saturated, with its hue 29° away. - Navy (
navy): Navy (#000080) is darker than Midnight Ocean (relative luminance 0.016 vs 0.025) and more saturated, with its hue 29° away. - Dark Slate Gray (
darkslategray): Dark Slate Gray (#2F4F4F) is lighter than Midnight Ocean (relative luminance 0.068 vs 0.025) and less saturated, with its hue 31° away. - Dark Blue (CSS) (
darkblue): Dark Blue (CSS) (#00008B) is darker than Midnight Ocean (relative luminance 0.019 vs 0.025) and more saturated, with its hue 29° away.
Similar very dark blue colors
- Astral Nomad#203943
- Azulado#211D49
- Beyond the Stars#0A3251
- Black Pearl#1E272C
- Black Velvet#222233
- Blue Whale#1E3442
- Cinder#242A2E
- Corbeau#111122
- Dark#1B2431
- Dark Eclipse#112244
- Dark Knight#151931
- Dark Soul#112255
- Deadly Depths#111144
- Eclipse Elixir#1F2133
- Eigengrau#16161D
- Endless Galaxy#000044
- Eternal Darkness#1C2841
- Illicit Darkness#00022E
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.