Huebook

Midnight Mirage

Midnight Mirage is a near-black, saturated blue color with the hex code #001F3F (hue 210°, saturation 100%, lightness 12%).

#001F3F
NameHEXRGBHSLCMYKOKLCH
Midnight Mirage#001F3F0, 31, 63210°, 100%, 12%100, 51, 0, 7523.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.

Midnight Mirage
  • HEX#001F3F
  • RGBrgb(0 31 63)
  • HSLhsl(210 100% 12%)

Variations of Midnight Mirage

Text on Midnight Mirage

White textThe quick brown fox16.56:1 · AA pass · AAA pass
Black textThe quick brown fox1.27: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 Mirage with color blindness

Normal #001F3F
Protanopia #0E2240
Deuteranopia #021C3E
Tritanopia #00272B

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

#CCE5FF
#80BEFF
#3397FF
#0071E6
#004B99
#00264D

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.

Nearest CSS named colors

Similar very dark blue colors

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.