Dark Blue color: hex code #00008B

#00008B rgb(0, 0, 139)
Shades of blue

Dark Blue has the hex code #00008B. It is a dark, vivid blue.

In the RGB color model it is made of 0% red, 0% green and 54.5% blue (0, 0, 139).

Its hue angle is 240°, with 100% saturation and 27% lightness. For print, the CMYK equivalent is 100% cyan, 100% magenta, 0% yellow and 45% black.

You can use it in CSS with the keyword darkblue.

White text is the more readable choice on this background (contrast 15.3:1).

Dark Blue (#00008B) color codes

HEX#00008B
RGBrgb(0, 0, 139)
RGB percentrgb(0%, 0%, 54.5%)
HSLhsl(240, 100%, 27%)
HSV / HSBhsv(240, 100%, 55%)
CMYKcmyk(100%, 100%, 0%, 45%)
CIE LABlab(14.75, 50.42, -68.68)
CIE LCHlch(14.75, 85.2, 306.28)
CIE XYZxyz(4.659, 1.863, 24.535)
Decimal139
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Dark Blue, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #00008BRatioAAAAAAA large
Sample text1.37:1FailFailFail
Sample text15.3:1PassPassPass
#00008B as text onRatioAAAAAAA large
Sample text15.3:1PassPassPass
Sample text1.37:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #00008B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #00008b; }
.text { color: #00008b; }
.border { border: 2px solid #00008b; }
.transparent { background-color: rgb(0 0 139 / 50%); }
.gradient { background: linear-gradient(to right, #00008b, #46008b); }
Background
Text color
Border

Similar colors

See #00008B on its hex code page

Questions

What color is #00008B?
#00008B is a dark, vivid blue known as Dark Blue. It belongs to the blue family of colors.
What is the RGB value of Dark Blue?
The RGB value is 0, 0, 139: 0 red, 0 green and 139 blue on a 0 to 255 scale.
What is the complementary color of Dark Blue?
The complementary color is #8B8B00, found by rotating the hue 180° on the color wheel.
Is black or white text better on #00008B?
White text. Black text has a contrast ratio of 1.37:1 and white text 15.3:1. WCAG asks for at least 4.5:1 for normal text.