Perfect Dark
Perfect Dark is a very dark, moderately saturated blue color with the hex code #313390 (hue 239°, saturation 49%, lightness 38%).
- HEX
#313390 - RGB
rgb(49 51 144) - HSL
hsl(239 49% 38%) - OKLCH
oklch(38.1% 0.150 276)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Perfect Dark | #313390 | 49, 51, 144 | 239°, 49%, 38% | 66, 65, 0, 44 | 38.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.
- HEX
#313390 - RGB
rgb(49 51 144) - HSL
hsl(239 49% 38%)
Variations of Perfect Dark
Text on Perfect Dark
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
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
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.
- Perfect Dark Complementary Color Scheme#313390#5A4FCF#928D35#4F531F#CEC754
- Perfect Dark Analogous Color Scheme#2B8C8A#326193#313390#5C2E88#952E8F
- Perfect Dark Triadic Color Scheme#313390#903037#318F33#5566CC#5D1F1E
- Perfect Dark Split-complementary Color Scheme#313390#905D36#658B38#1C1E4D#C38650
- Perfect Dark Tetradic Color Scheme#313390#90306A#928D35#348A5D#5566CC
- Perfect Dark Monochromatic Color Scheme#0C0C1F#1C1E4D#313390#4156C5#8A83DA
Nearest CSS named colors
- Dark Slate Blue (
darkslateblue): Dark Slate Blue (#483D8B) is lighter than Perfect Dark (relative luminance 0.066 vs 0.050) and less saturated, with its hue 10° away. - Indigo (
indigo): Indigo (#4B0082) is darker than Perfect Dark (relative luminance 0.031 vs 0.050) and more saturated, with its hue 36° away. - Midnight Blue (
midnightblue): Midnight Blue (#191970) is darker than Perfect Dark (relative luminance 0.021 vs 0.050) and more saturated, with the same hue. - Rebecca Purple (
rebeccapurple): Rebecca Purple (#663399) is lighter than Perfect Dark (relative luminance 0.075 vs 0.050) and equally saturated, with its hue 31° away.
Gradients with Perfect Dark
Similar dark blue colors
- 20000 Leagues Under the Sea#191970
- 3AM in Shibuya#225577
- Abyssal#404C57
- Aegean Blue#1B416F
- Alone in the Dark#000066
- Assassin#2D4F83
- Astral#376F89
- Atlantic Navy#13336F
- Atlantis#336172
- Below the Surface#0A2F7C
- Beyond the Sea#005784
- Black Market#222244
- Black Sea Night#052462
- Black Turmeric#2C4364
- Blue Chip#1D5699
- Blue Funk#2D4470
- Blue Hour#0034AB
- Blue Screen of Death#0033BB
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.