DarkBlue color

Inspect DarkBlue (#00008B) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.

#00008b

DarkBlue

DarkBlue color values

DarkBlue

#00008B

White text reads best on this background, at 15.3:1.

DarkBlue is one of the 148 CSS named colors, and resolves to #00008B in every browser. In numbers that is rgb(0, 0, 139) and hsl(240, 100%, 27%). Perceptually it is a dark, vivid color: OKLCH puts its lightness at 29% and its chroma at 0.199. It sits in the blues at 264 degrees of OKLCH hue, and reads as a cool color.

White text clears WCAG AA on a DarkBlue background at 15.3:1, and AAA as well. At this chroma it is loud enough to be an accent or a call to action, but it will fight anything else vivid placed next to it.

The closest CSS named colors to DarkBlue, measured with CIEDE2000, are Navy (#000080), MidnightBlue (#191970), Indigo (#4B0082). If DarkBlue is not quite right, those are the nearest keywords to try before reaching for a custom value.

HEX

#00008B

RGB

rgb(0, 0, 139)

HSL

hsl(240, 100%, 27%)

HWB

hwb(240 0% 45%)

CMYK

cmyk(100%, 100%, 0%, 45%)

LAB

lab(13.02 43.48 -71.34)

LCH

lch(13.02 83.54 301.36)

OKLCH

oklch(28.78% 0.1994 264.05)

Is DarkBlue accessible?

WCAG asks for 4.5:1 between body text and its background. On #00008B white text measures 15.3:1 and black text 1.37:1, so white clears it and black does not.

White text on DarkBlue

WCAG 2.2

15.3:1

APCA

Lc 103

Passes AA body text

Passes AAA body text

Passes AA large text

Black text on DarkBlue

WCAG 2.2

1.37:1

APCA

Lc 0

Fails AA body text

Fails AAA body text

Fails AA large text

Check DarkBlue against any other color in the contrast checker.

Tints and shades of DarkBlue

DarkBlue sits at 29% OKLCH lightness. Holding its hue and chroma and moving only that value carries it up to #F5F9FF and down to #000220, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.

Tints, toward white

#113EB9

20% lighter

#366BE9

40% lighter

#6D9CFF

60% lighter

#B1CBFF

80% lighter

#F5F9FF

100% lighter

Shades, toward black

#001069

20% darker

#000C55

40% darker

#000743

60% darker

#000431

80% darker

#000220

100% darker

Build a full accessible scale from #00008B in the shade generator.

Colors that go with DarkBlue

Hues rotated around #00008B in OKLCH, then pulled back into the sRGB gamut. Each swatch is labelled with the nearest CSS named color so you have a keyword to start from.

Complementary

DarkBlue sits at 264 degrees. Rotating it a half turn lands on 84 degrees, the hue directly opposite. It is the strongest pairing you can make without changing lightness, and the one most likely to vibrate if you use both at full chroma.

Analogous

The neighbors of DarkBlue at 234 and 294 degrees. They stay close enough to read as the same family, which is what you want for hover states, secondary surfaces and gradients.

Triadic

264, 24 and 144 degrees divide the wheel into thirds. Balanced enough to carry a whole palette without one color dominating the other two.

Split complementary

Instead of the complement at 84 degrees, this pair flanks it at 54 and 114. You keep most of the contrast of a complementary pairing while losing the harshness.

Explore more combinations around DarkBlue on the color wheel.

How DarkBlue looks with color blindness

The biggest shift is under achromatopsia, where #00008B reads as #0A0A0A, 30.2 CIEDE2000 units away. If DarkBlue is the only thing marking a state or a series, roughly one viewer in twelve will miss it.

Protanopia

#000E92

Deuteranopia

#000787

Tritanopia

#00152A

Achromatopsia

#0A0A0A

Colors similar to DarkBlue

The nearest CSS keywords to #00008B, ranked by perceptual distance rather than by how close their hex digits happen to look.