Dark Knight
Dark Knight is a near-black, moderately saturated blue color with the hex code #151931 (hue 231°, saturation 40%, lightness 14%).
- HEX
#151931 - RGB
rgb(21 25 49) - HSL
hsl(231 40% 14%) - OKLCH
oklch(22.3% 0.047 275)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Dark Knight | #151931 | 21, 25, 49 | 231°, 40%, 14% | 57, 49, 0, 81 | 22.3% 0.047 275 |
Contrast with white text 17.28:1, with black text 1.22:1 — use white text on Dark Knight.
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 Dark Knight
Move the sliders to make Dark Knight lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#151931 - RGB
rgb(21 25 49) - HSL
hsl(231 40% 14%)
Variations of Dark Knight
Text on Dark Knight
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.
Dark Knight with color blindness
How Dark Knight 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 Dark Knight
Six color schemes built on Dark Knight with classic harmony rules. The complementary scheme pairs it with Olivenite (#333311), the color opposite it on the color wheel.
- Dark Knight Complementary Color Scheme#151931#323B6C#333311#16110D#786E38
- Dark Knight Analogous Color Scheme#1B322C#1B2632#151931#1C0F33#331233
- Dark Knight Triadic Color Scheme#151931#341515#113311#333C76#130D0D
- Dark Knight Split-complementary Color Scheme#151931#351F19#223311#0B0C14#67422D
- Dark Knight Tetradic Color Scheme#151931#2C1620#333311#0D2E1C#333C76
- Dark Knight Monochromatic Color Scheme#0B0C14#0B0C14#151931#343467#445397
Nearest CSS named colors
- Midnight Blue (
midnightblue): Midnight Blue (#191970) is lighter than Dark Knight (relative luminance 0.021 vs 0.011) and more saturated, with its hue 9° away. - Navy (
navy): Navy (#000080) is lighter than Dark Knight (relative luminance 0.016 vs 0.011) and more saturated, with its hue 9° away. - Dark Blue (CSS) (
darkblue): Dark Blue (CSS) (#00008B) is lighter than Dark Knight (relative luminance 0.019 vs 0.011) and more saturated, with its hue 9° away. - Indigo (
indigo): Indigo (#4B0082) is lighter than Dark Knight (relative luminance 0.031 vs 0.011) and more saturated, with its hue 43° away.
Gradients with Dark Knight
Similar very dark blue colors
- Astral Nomad#203943
- Azulado#211D49
- Beyond the Stars#0A3251
- Black Pearl#1E272C
- Black Velvet#222233
- Blue Whale#1E3442
- Cinder#242A2E
- Corbeau#111122
- Dark#1B2431
- Dark Eclipse#112244
- Dark Soul#112255
- Deadly Depths#111144
- Eclipse Elixir#1F2133
- Eigengrau#16161D
- Endless Galaxy#000044
- Eternal Darkness#1C2841
- Illicit Darkness#00022E
- Infinite Night#071037
Questions
What is the hex code for Dark Knight?
#151931 — RGB 21, 25, 49, HSL 231°, 40%, 14%.
Is Dark Knight a warm or cool color?
Cool — its hue sits at 231° on the color wheel.