Huebook

Midnight Edition

Midnight Edition is a near-black, moderately saturated blue color with the hex code #0C121B (hue 216°, saturation 38%, lightness 8%).

#0C121B
NameHEXRGBHSLCMYKOKLCH
Midnight Edition#0C121B12, 18, 27216°, 38%, 8%56, 33, 0, 8918.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.

Midnight Edition
  • HEX#0C121B
  • RGBrgb(12 18 27)
  • HSLhsl(216 38% 8%)

Variations of Midnight Edition

Text on Midnight Edition

White textThe quick brown fox18.78:1 · AA pass · AAA pass
Black textThe quick brown fox1.12: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 Edition with color blindness

Normal #0C121B
Protanopia #0F121B
Deuteranopia #0D111B
Tritanopia #071415

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

#DCE4EF
#A7BAD8
#7291C0
#476A9F
#2F476A
#182335

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.

Nearest CSS named colors

Gradients with Midnight Edition

Similar very dark blue colors

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.