#08214B#08214B

#08214B is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.084 H 260.2°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#08214B
RGBrgb(8, 33, 75)
HSLhsl(218, 81%, 16%)
HSVhsv(218, 89%, 29%)
CMYKcmyk(89.3%, 56%, 0%, 70.6%)
CIE-LABlab(13.51, 8.80, -28.74)
CIE-LCHlch(13.51, 30.06, 287.03°)
OKLaboklab(25.73% -0.0143 -0.0828)
OKLCHoklch(25.73% 0.084 260.2)
XYZxyz(1.9135, 1.6471, 6.8723)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08214B #4B3208
analogous
#08434B #08214B #11084B
triadic
#08214B #4B0821 #214B08
tetradic
#08214B #4B0843 #4B3208 #084B11
square
#08214B #4B0843 #4B3208 #084B11
split-complementary
#08214B #4B1108 #434B08
monochromatic
#030C1C #030C1C #08214B #0E3982 #1452BA

Accessibility & contrast

On white

15.80
#08214B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#08214B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08214B
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08214B#FFFFFF#000000##FFFFFF
##08214B1.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06264D
Deuteranopia (green-blind)
#00204A
Tritanopia (blue-blind)
#002B32
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #08214b;
/* rgb */ color: rgb(8, 33, 75);
/* oklch */ color: oklch(25.7% 0.084 260.2);
Tailwind
colors: {
  custom: {
    50: '#555b7e',
    500: '#08214b',
    950: '#000000',
  },
}
SCSS
$custom: #08214b;
$custom-light: #555b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#08214b",
  "rgb": {
    "r": 8,
    "g": 33,
    "b": 75
  },
  "hsl": {
    "h": 217.612,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25732,
    "c": 0.084,
    "h": 260.2
  },
  "luminance": 0.01647
}

Semantic roles & 50–950 ramp

primary
#08214B
secondary
#896426
accent
#AD31F7
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #08214B

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

Preview Lab → · Contrast checker → · Palette generator →

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