Huebook

Perfect Dark

Perfect Dark is a very dark, moderately saturated blue color with the hex code #313390 (hue 239°, saturation 49%, lightness 38%).

#313390
NameHEXRGBHSLCMYKOKLCH
Perfect Dark#31339049, 51, 144239°, 49%, 38%66, 65, 0, 4438.1% 0.150 276

Contrast with white text 10.46:1, with black text 2.01:1 — use white text on Perfect Dark.

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 Perfect Dark

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

Perfect Dark
  • HEX#313390
  • RGBrgb(49 51 144)
  • HSLhsl(239 49% 38%)

Variations of Perfect Dark

Text on Perfect Dark

White textThe quick brown fox10.46:1 · AA pass · AAA pass
Black textThe quick brown fox2.01: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.

Perfect Dark with color blindness

Normal #313390
Protanopia #004493
Deuteranopia #003B8E
Tritanopia #004B5C

How Perfect Dark 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

#D9D9F2
#A0A1DF
#6769CB
#3A3DAB
#272872
#131439

Colors that go with Perfect Dark

Six color schemes built on Perfect Dark with classic harmony rules. The complementary scheme pairs it with Golden Lime (#928D35), the color opposite it on the color wheel.

Nearest CSS named colors

Gradients with Perfect Dark

Similar dark blue colors

Questions

What is the hex code for Perfect Dark?

#313390 — RGB 49, 51, 144, HSL 239°, 49%, 38%.

Is Perfect Dark a warm or cool color?

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