Huebook

Midnight Melancholia

Midnight Melancholia is a very dark, saturated blue color with the hex code #002266 (hue 220°, saturation 100%, lightness 20%).

#002266
NameHEXRGBHSLCMYKOKLCH
Midnight Melancholia#0022660, 34, 102220°, 100%, 20%100, 67, 0, 6028.3% 0.126 261

Contrast with white text 14.78:1, with black text 1.42:1 — use white text on Midnight Melancholia.

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 Melancholia

Move the sliders to make Midnight Melancholia lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Midnight Melancholia
  • HEX#002266
  • RGBrgb(0 34 102)
  • HSLhsl(220 100% 20%)

Variations of Midnight Melancholia

Text on Midnight Melancholia

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

Normal #002266
Protanopia #002D68
Deuteranopia #002365
Tritanopia #003440

How Midnight Melancholia 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

#CCDDFF
#80AAFF
#3377FF
#004CE6
#003399
#00194D

Colors that go with Midnight Melancholia

Six color schemes built on Midnight Melancholia with classic harmony rules. The complementary scheme pairs it with Notorious Neanderthal (#664400), the color opposite it on the color wheel.

Nearest CSS named colors

Gradients with Midnight Melancholia

Similar dark blue colors

Questions

What is the hex code for Midnight Melancholia?

#002266 — RGB 0, 34, 102, HSL 220°, 100%, 20%.

Is Midnight Melancholia a warm or cool color?

Cool — its hue sits at 220° on the color wheel.