darkblue

#00008B · CSS color name

darkblue is the CSS color name for #00008b: RGB(0, 0, 139), HSL(240°, 100%, 27%), CMYK(100%, 100%, 0%, 45%). Contrast is 15.3:1 on white and 1.37:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#00008b
CSS color namedarkblue
RGBrgb(0 0 139)
RGB (legacy)rgb(0, 0, 139)
RGB %rgb(0% 0% 55%)
HSLhsl(240 100% 27%)
HSV / HSBhsv(240, 100%, 55%)
HWBhwb(240 0% 45%)
CMYKcmyk(100%, 100%, 0%, 45%)
CIELAB (D50)lab(13.02 43.48 -71.34)
LCHlch(13.02 83.54 301.36)
OKLaboklab(0.2878 -0.0207 -0.1984)
OKLCHoklch(0.2878 0.1994 264.05)
Decimal139

Properties

Color ToneBlue, Sky, Navy
Closest named colordarkblue ΔE 0
Closest web-safe color#000099
Hue240°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)27%
Brightness or Value (HSV)55%
Luminance (Rec.601 / Rec.709)6% / 4%
Relative luminance (WCAG)0.0186
Red / Green / Blue0 / 0 / 139

WCAG 2.2 Contrast Ratio

On White (#ffffff)
15.30:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.37:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 100 / 0 · As background with white / black text: Lc -103.1 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-darkblue: #00008b;
  --color-darkblue-oklch: oklch(28.78% 0.1994 264.05);
}
.text { color: var(--color-darkblue); }
.background { background-color: var(--color-darkblue); }
.border { border: 1px solid rgb(0 0 139 / 50%); }
/* Tailwind CSS */
<div class="bg-[#00008b] text-[#00008b] border-[#00008b]">