Midnight Oil
Midnight Oil is a near-black, muted blue color with the hex code #0B0C14 (hue 233°, saturation 29%, lightness 6%).
- HEX
#0B0C14 - RGB
rgb(11 12 20) - HSL
hsl(233 29% 6%) - OKLCH
oklch(15.7% 0.017 279)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Midnight Oil | #0B0C14 | 11, 12, 20 | 233°, 29%, 6% | 45, 40, 0, 92 | 15.7% 0.017 279 |
Contrast with white text 19.50:1, with black text 1.08:1 — use white text on Midnight Oil.
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 Oil
Move the sliders to make Midnight Oil lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#0B0C14 - RGB
rgb(11 12 20) - HSL
hsl(233 29% 6%)
Variations of Midnight Oil
Text on Midnight Oil
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 Oil with color blindness
How Midnight Oil 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 Oil
Six color schemes built on Midnight Oil with classic harmony rules. The complementary scheme pairs it with Black Raspberry (#16110D), the color opposite it on the color wheel.
- Midnight Oil Complementary Color Scheme#0B0C14#28314D#16110D#16110D#515131
- Midnight Oil Analogous Color Scheme#0F1012#0F1012#0B0C14#0B0C14#150811
- Midnight Oil Triadic Color Scheme#0B0C14#130D0D#0F180A#333355#130D0D
- Midnight Oil Split-complementary Color Scheme#0B0C14#130D0D#0F180A#0B0C14#463623
- Midnight Oil Tetradic Color Scheme#0B0C14#150811#16110D#121210#333355
- Midnight Oil Monochromatic Color Scheme#0B0C14#0B0C14#0B0C14#282A4A#4B4775
Nearest CSS named colors
- Black (
black): Black (#000000) is darker than Midnight Oil (relative luminance 0.000 vs 0.004) and less saturated. - Midnight Blue (
midnightblue): Midnight Blue (#191970) is lighter than Midnight Oil (relative luminance 0.021 vs 0.004) and more saturated, with its hue 7° away. - Navy (
navy): Navy (#000080) is lighter than Midnight Oil (relative luminance 0.016 vs 0.004) and more saturated, with its hue 7° away. - Dark Blue (CSS) (
darkblue): Dark Blue (CSS) (#00008B) is lighter than Midnight Oil (relative luminance 0.019 vs 0.004) and more saturated, with its hue 7° away.
Gradients with Midnight Oil
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 Oil?
#0B0C14 — RGB 11, 12, 20, HSL 233°, 29%, 6%.
Is Midnight Oil a warm or cool color?
Cool — its hue sits at 233° on the color wheel.