Dark Blue
Dark Blue is a dark, moderately saturated blue color with the hex code #315B7D (hue 207°, saturation 44%, lightness 34%). CSS has a keyword with the same name, darkblue, but it is a different color (#00008B, see Dark Blue (CSS)).
- HEX
#315B7D - RGB
rgb(49 91 125) - HSL
hsl(207 44% 34%) - OKLCH
oklch(45.6% 0.073 245)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Dark Blue | #315B7D | 49, 91, 125 | 207°, 44%, 34% | 61, 27, 0, 51 | 45.6% 0.073 245 |
Contrast with white text 7.18:1, with black text 2.92:1 — use white text on Dark Blue.
CSS also has a named color darkblue, but it is a different color: #00008B. In a stylesheet, use #315B7D for Dark Blue, not the keyword.
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 Blue
Move the sliders to make Dark Blue lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#315B7D - RGB
rgb(49 91 125) - HSL
hsl(207 44% 34%)
Variations of Dark Blue
Text on Dark Blue
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 Blue with color blindness
How Dark Blue 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 Blue
Six color schemes built on Dark Blue with classic harmony rules. The complementary scheme pairs it with Brazilian Brown (#7F5131), the color opposite it on the color wheel.
- Dark Blue Complementary Color Scheme#315B7D#4D8CB9#7F5131#452C1F#BA8759
- Dark Blue Analogous Color Scheme#2E7B52#2C7C79#315B7D#323477#57317E
- Dark Blue Triadic Color Scheme#315B7D#773355#517933#5D8FBD#4B1C35
- Dark Blue Split-complementary Color Scheme#315B7D#7C3239#747A2C#1E3442#B4474D
- Dark Blue Tetradic Color Scheme#315B7D#7E3075#7F5131#337B35#5D8FBD
- Dark Blue Monochromatic Color Scheme#0B0F1A#1E3442#315B7D#4682B4#7CA7CB
Nearest CSS named colors
- Dark Slate Gray (
darkslategray): Dark Slate Gray (#2F4F4F) is darker than Dark Blue (relative luminance 0.068 vs 0.096) and less saturated, with its hue 27° away. - Dark Slate Blue (
darkslateblue): Dark Slate Blue (#483D8B) is darker than Dark Blue (relative luminance 0.066 vs 0.096) and less saturated, with its hue 42° away. - Dim Gray (
dimgray): Dim Gray (#696969) is lighter than Dark Blue (relative luminance 0.141 vs 0.096) and less saturated. - Teal (
teal): Teal (#008080) is lighter than Dark Blue (relative luminance 0.170 vs 0.096) and more saturated, with its hue 27° away.
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 Dark Blue?
#315B7D — RGB 49, 91, 125, HSL 207°, 44%, 34%.
Is Dark Blue a warm or cool color?
Cool — its hue sits at 207° on the color wheel.