Midnight Mirage
Midnight Mirage is a near-black, saturated blue color with the hex code #001F3F (hue 210°, saturation 100%, lightness 12%).
- HEX
#001F3F - RGB
rgb(0 31 63) - HSL
hsl(210 100% 12%) - OKLCH
oklch(23.8% 0.071 252)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Midnight Mirage | #001F3F | 0, 31, 63 | 210°, 100%, 12% | 100, 51, 0, 75 | 23.8% 0.071 252 |
Contrast with white text 16.56:1, with black text 1.27:1 — use white text on Midnight Mirage.
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 Mirage
Move the sliders to make Midnight Mirage lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#001F3F - RGB
rgb(0 31 63) - HSL
hsl(210 100% 12%)
Variations of Midnight Mirage
Text on Midnight Mirage
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 Mirage with color blindness
How Midnight Mirage 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 Mirage
Six color schemes built on Midnight Mirage with classic harmony rules. The complementary scheme pairs it with Dark Ebony (#3D2004), the color opposite it on the color wheel.
- Midnight Mirage Complementary Color Scheme#001F3F#004F98#3D2004#1C1208#A75502
- Midnight Mirage Analogous Color Scheme#003723#003839#001F3F#020035#280137
- Midnight Mirage Triadic Color Scheme#001F3F#330018#133700#0056A8#180614
- Midnight Mirage Split-complementary Color Scheme#001F3F#3E0007#373E02#01081C#8B0000
- Midnight Mirage Tetradic Color Scheme#001F3F#36013F#3D2004#033500#0056A8
- Midnight Mirage Monochromatic Color Scheme#01081C#01081C#001F3F#02478E#0066DD
Nearest CSS named colors
- Midnight Blue (
midnightblue): Midnight Blue (#191970) is lighter than Midnight Mirage (relative luminance 0.021 vs 0.013) and less saturated, with its hue 30° away. - Navy (
navy): Navy (#000080) is about as light as Midnight Mirage (relative luminance 0.016 vs 0.013) and equally saturated, with its hue 30° away. - Dark Blue (CSS) (
darkblue): Dark Blue (CSS) (#00008B) is lighter than Midnight Mirage (relative luminance 0.019 vs 0.013) and equally saturated, with its hue 30° away. - Dark Slate Gray (
darkslategray): Dark Slate Gray (#2F4F4F) is lighter than Midnight Mirage (relative luminance 0.068 vs 0.013) and less saturated, with its hue 30° 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 Mirage?
#001F3F — RGB 0, 31, 63, HSL 210°, 100%, 12%.
Is Midnight Mirage a warm or cool color?
Cool — its hue sits at 210° on the color wheel.