Midnight Edition
Midnight Edition is a near-black, moderately saturated blue color with the hex code #0C121B (hue 216°, saturation 38%, lightness 8%).
- HEX
#0C121B - RGB
rgb(12 18 27) - HSL
hsl(216 38% 8%) - OKLCH
oklch(18.1% 0.021 258)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Midnight Edition | #0C121B | 12, 18, 27 | 216°, 38%, 8% | 56, 33, 0, 89 | 18.1% 0.021 258 |
Contrast with white text 18.78:1, with black text 1.12:1 — use white text on Midnight Edition.
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 Edition
Move the sliders to make Midnight Edition lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#0C121B - RGB
rgb(12 18 27) - HSL
hsl(216 38% 8%)
Variations of Midnight Edition
Text on Midnight Edition
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 Edition with color blindness
How Midnight Edition 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 Edition
Six color schemes built on Midnight Edition with classic harmony rules. The complementary scheme pairs it with Soulless (#1B150D), the color opposite it on the color wheel.
- Midnight Edition Complementary Color Scheme#0C121B#273C5A#1B150D#16110D#664A2D
- Midnight Edition Analogous Color Scheme#0E191C#0E191C#0C121B#0B0F1A#1D0D1D
- Midnight Edition Triadic Color Scheme#0C121B#1A1110#0F180A#2C4364#150811
- Midnight Edition Split-complementary Color Scheme#0C121B#1A1110#1F180A#0B0C14#4F2923
- Midnight Edition Tetradic Color Scheme#0C121B#1D0D1D#1B150D#0F180A#2C4364
- Midnight Edition Monochromatic Color Scheme#0B0C14#0B0C14#0C121B#28314D#365787
Nearest CSS named colors
- Midnight Blue (
midnightblue): Midnight Blue (#191970) is lighter than Midnight Edition (relative luminance 0.021 vs 0.006) and more saturated, with its hue 24° away. - Black (
black): Black (#000000) is darker than Midnight Edition (relative luminance 0.000 vs 0.006) and less saturated. - Navy (
navy): Navy (#000080) is lighter than Midnight Edition (relative luminance 0.016 vs 0.006) and more saturated, with its hue 24° away. - Dark Blue (CSS) (
darkblue): Dark Blue (CSS) (#00008B) is lighter than Midnight Edition (relative luminance 0.019 vs 0.006) and more saturated, with its hue 24° away.
Gradients with Midnight Edition
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 Edition?
#0C121B — RGB 12, 18, 27, HSL 216°, 38%, 8%.
Is Midnight Edition a warm or cool color?
Cool — its hue sits at 216° on the color wheel.