Huebook

Deep Blue

Deep Blue is a near-black, saturated blue-violet color with the hex code #040273 (hue 241°, saturation 97%, lightness 23%).

#040273
NameHEXRGBHSLCMYKOKLCH
Deep Blue#0402734, 2, 115241°, 97%, 23%97, 98, 0, 5525.5% 0.171 266

Contrast with white text 16.65:1, with black text 1.26:1 — use white text on Deep Blue.

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 Deep Blue

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

Deep Blue
  • HEX#040273
  • RGBrgb(4 2 115)
  • HSLhsl(241 97% 23%)

Variations of Deep Blue

Text on Deep Blue

White textThe quick brown fox16.65:1 · AA pass · AAA pass
Black textThe quick brown fox1.26: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.

Deep Blue with color blindness

Normal #040273
Protanopia #002476
Deuteranopia #001871
Tritanopia #002D41

How Deep 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

#CECDFE
#8482FD
#3A36FC
#0804E2
#050396
#03014B

Colors that go with Deep Blue

Six color schemes built on Deep Blue with classic harmony rules. The complementary scheme pairs it with Bronze Yellow (#737000), the color opposite it on the color wheel.

Nearest CSS named colors

Gradients with Deep Blue

Similar dark blue colors

Questions

What is the hex code for Deep Blue?

#040273 — RGB 4, 2, 115, HSL 241°, 97%, 23%.

Is Deep Blue a warm or cool color?

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