darkblue (#00008B)

darkblue is a CSS named color with the hex code #00008B, rgb(0, 0, 139). It is a dark, vivid indigo.

darkblue#00008B
Keyworddarkblue
HEX#00008b
RGBrgb(0, 0, 139)
HSLhsl(240, 100%, 27%)

Full #00008B details: palettes, shades, color-blind view →

Description

Darkblue (read as "dark blue") has a hue of 240°, saturation 100% and lightness 27%, which places it in the blue family. The "dark" prefix is part of the CSS name, but CSS names are not systematic: for example darkgray (#A9A9A9) is lighter than gray (#808080).

Using darkblue in CSS

.title { color: darkblue; }
.box   { background: darkblue; border-color: #00008b; }
.soft  { background: rgb(0 0 139 / 20%); }   /* darkblue at 20% opacity */

Named colors are case-insensitive and supported by every browser. Most of the 148 names come from the X11 color list adopted by early browsers.

Similar named colors

ColorHEXRGBΔE 2000
navy#0000800, 0, 1281.6
midnightblue#19197025, 25, 1126.2
indigo#4b008275, 0, 1307.7
mediumblue#0000cd0, 0, 2058.8
darkslateblue#483d8b72, 61, 13914.3
rebeccapurple#663399102, 51, 15314.9
blue#0000ff0, 0, 25515
purple#800080128, 0, 12818.3

ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.

Pairs well with

Readability

Contrast with white text: 15.30:1; with black text: 1.37:1. White body text on darkblue meets WCAG AA.

Frequently asked questions

What is the hex code for darkblue?
#00008B.
What colors are similar to darkblue?
navy (#000080), midnightblue (#191970), indigo (#4b0082).