Huebook

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)).

#315B7D
NameHEXRGBHSLCMYKOKLCH
Dark Blue#315B7D49, 91, 125207°, 44%, 34%61, 27, 0, 5145.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.

Dark Blue
  • HEX#315B7D
  • RGBrgb(49 91 125)
  • HSLhsl(207 44% 34%)

Variations of Dark Blue

Text on Dark Blue

White textThe quick brown fox7.18:1 · AA pass · AAA pass
Black textThe quick brown fox2.92: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.

Dark Blue with color blindness

Normal #315B7D
Protanopia #4C5C7F
Deuteranopia #42547C
Tritanopia #006367

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

#DAE7F1
#A3C2DB
#6C9EC6
#4178A5
#2B506E
#162837

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.

Nearest CSS named colors

Similar dark blue colors

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.