White text passes AAA
15.3:1

Dark Blue

#00008B
PNG

The dark blue hex code is #00008B, and its RGB value is 0, 0, 139.

Dark blue here is the CSS darkblue #00008B, a little brighter than navy #000080 but nearly as deep. It's a dependable choice for headers, uniforms and corporate brands that want something steadier than bright blue. White text reaches 15.3:1 on it.

Dark Blue color codes

HEX#00008B
RGBrgb(0, 0, 139)
HSLhsl(240, 100%, 27%)
OKLCHoklch(28.8% 0.199 264.1)
CMYKcmyk(100%, 100%, 0%, 45%)
CMYK is an approximate screen conversion, not for print matching.

Shades of dark blue

Ten lighter and ten darker shades of dark blue, with dark blue in the middle. Click a shade to copy its hex code.

LightestDark Blue #00008BDarkest

Readability

White text on dark blueNormal text at 16px. The quick brown fox jumps over the lazy dog.
15.3:1
  • Passes AA normal
  • Passes AA large
  • Passes AAA normal
  • Passes AAA large
Dark text on dark blueNormal text at 16px. The quick brown fox jumps over the lazy dog.
1.37:1
  • Fails AA and AAA

Colors that go with dark blue

#00008B#8B8B00

Complementary

The opposite on the color wheel
#00468B#00008B#46008B

Analogous

Its two neighbors
#00008B#8B0000#008B00

Triadic

Three evenly spaced colors
#00008B#8B4600#468B00

Split-complementary

The two colors beside its opposite

Dark Blue color palettes

Monochrome

Lighter and darker versions of the same color.

Analogous

Neighbors on the color wheel, for a calm, related look.

Complementary

The color with its opposite, for strong contrast.

Triadic

Three colors evenly spaced around the wheel, with a light and dark version.

Dark Blue background

Plain and gradient dark blue backgrounds for phone and desktop wallpapers, slides and mockups, free to download.

Solid dark blue background

Dark Blue gradient background

Questions about dark blue

What is the hex code for dark blue?

The hex code for dark blue is #00008B. In RGB it's rgb(0, 0, 139), and in HSL it's hsl(240, 100%, 27%).

What is the RGB value of dark blue?

Dark Blue is rgb(0, 0, 139) in RGB: 0 red, 0 green and 139 blue on a 0-255 scale.

What colors go with dark blue?

Its complementary color is #8B8B00. For a calmer look, try the analogous colors #00468B and #46008B, or one of the palettes above, which all include dark blue.

Is text readable on dark blue?

White text is the better choice, with a contrast ratio of 15.3:1. That passes WCAG AA for normal text.