Skip to content

DarkBlue#00008B HEX Color

#00008Brgb(0, 0, 139)
#00008B color swatch

About DarkBlue

DarkBlue (#00008B) is a cool, dark, vivid blue tone with a hue of 240°, saturation of 100% and lightness of 27%. It works well for corporate and professional UI and conveys a calm feeling. On a white background it reaches a contrast ratio of 15.30:1, while on black it reaches 1.37:1 — so prefer white text when using #00008B as a background.

Color Codes

HEX#00008B
RGBrgb(0, 0, 139)
HSLhsl(240°, 100%, 27%)
CMYKcmyk(100%, 100%, 0%, 45%)
CIELABLab(14.8, 50.4, -68.7)

Accessibility & Contrast

On white
15.30:1
AA Normalpasses
AA Largepasses
AAA Normalpasses
AAA Largepasses
On black
1.37:1
AA Normalfails
AA Largefails
AAA Normalfails
AAA Largefails

Recommendation: when using #00008B as a background, use white text for the highest contrast.

Color Schemes

Tints & Shades

CSS Code Snippets

background-color: #00008B;
color: #00008B;
border: 2px solid #00008B;
background: linear-gradient(135deg, #00008B, #8b8b00);

Code Export

css
:root {
  --color-primary: #00008b;
  --color-primary-rgb: 0, 0, 139;
  --color-primary-hsl: 240, 100%, 27%;
}

Explore Color Tools

Related Tools

Related Combinations

Frequently Asked Questions

What is the name of color #00008B?

Color #00008B is commonly known as DarkBlue. It is a cool, dark, vivid blue tone.

Is #00008B a warm or cool color?

DarkBlue (#00008B) is a cool color. With a hue of 240°, it falls in the blue family.

What colors go well with #00008B?

Colors that pair well with DarkBlue (#00008B) include its complementary color (#8B8B00), neutral whites and warm creams, and analogous blue tones for harmonious palettes.