Darkblue#00008B

#00008B is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.8% C 0.199 H 264.1°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Darkblue — editorial page

Color values

HEX#00008B
RGBrgb(0, 0, 139)
HSLhsl(240, 100%, 27%)
HSVhsv(240, 100%, 55%)
CMYKcmyk(100%, 100%, 0%, 45.5%)
CIE-LABlab(14.75, 50.42, -68.68)
CIE-LCHlch(14.75, 85.20, 306.29°)
OKLaboklab(28.78% -0.0207 -0.1984)
OKLCHoklch(28.78% 0.199 264.1)
XYZxyz(4.6586, 1.8634, 24.5352)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#00008B #8B8B00
analogous
#00468B #00008B #46008B
triadic
#00008B #8B0000 #008B00
tetradic
#00008B #8B0046 #8B8B00 #008B46
square
#00008B #8B0046 #8B8B00 #008B46
split-complementary
#00008B #8B4600 #468B00
monochromatic
#00001F #00004E #00008B #0000C8 #0606FF

Accessibility & contrast

On white

15.30
#00008B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#00008B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #00008B
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##00008B#FFFFFF#000000##FFFFFF
##00008B1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C8E
Deuteranopia (green-blind)
#001D89
Tritanopia (blue-blind)
#00374F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #00008b;
/* rgb */ color: rgb(0, 0, 139);
/* oklch */ color: oklch(28.8% 0.199 264.1);
Tailwind
colors: {
  custom: {
    50: '#6b4daf',
    500: '#00008b',
    950: '#000000',
  },
}
SCSS
$custom: #00008b;
$custom-light: #6b4daf;
$custom-dark: #000000;
JSON
{
  "hex": "#00008b",
  "rgb": {
    "r": 0,
    "g": 0,
    "b": 139
  },
  "hsl": {
    "h": 240,
    "s": 100,
    "l": 27.255
  },
  "oklch": {
    "l": 0.28782,
    "c": 0.19944,
    "h": 264.1
  },
  "luminance": 0.01864
}

Semantic roles & 50–950 ramp

primary
#00008B
secondary
#C4C423
accent
#FF29FF
background
#F7F4FA
surface
#EDE7F5
border
#C8C3CF
text
#090211
muted
#7B7880

Preview Lab

Preview with #00008B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#00008B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva