#08213E#08213E

#08213E is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.7% C 0.063 H 254.3°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#08213E
RGBrgb(8, 33, 62)
HSLhsl(212, 77%, 14%)
HSVhsv(212, 87%, 24%)
CMYKcmyk(87.1%, 46.8%, 0%, 75.7%)
CIE-LABlab(12.53, 2.83, -21.29)
CIE-LCHlch(12.53, 21.48, 277.57°)
OKLaboklab(24.65% -0.0171 -0.0608)
OKLCHoklch(24.65% 0.063 254.3)
XYZxyz(1.5132, 1.4870, 4.7638)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08213E #3E2508
analogous
#083C3E #08213E #0A083E
triadic
#08213E #3E0821 #213E08
tetradic
#08213E #3E083C #3E2508 #083E0A
square
#08213E #3E083C #3E2508 #083E0A
split-complementary
#08213E #3E0A08 #3C3E08
monochromatic
#030E1B #030E1B #08213E #0F3E74 #165BAA

Accessibility & contrast

On white

16.19
#08213E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#08213E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08213E
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08213E#FFFFFF#000000##FFFFFF
##08213E1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13233F
Deuteranopia (green-blind)
#0A1E3D
Tritanopia (blue-blind)
#00282C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #08213e;
/* rgb */ color: rgb(8, 33, 62);
/* oklch */ color: oklch(24.7% 0.063 254.3);
Tailwind
colors: {
  custom: {
    50: '#515b73',
    500: '#08213e',
    950: '#000000',
  },
}
SCSS
$custom: #08213e;
$custom-light: #515b73;
$custom-dark: #000000;
JSON
{
  "hex": "#08213e",
  "rgb": {
    "r": 8,
    "g": 33,
    "b": 62
  },
  "hsl": {
    "h": 212.222,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24651,
    "c": 0.0632,
    "h": 254.3
  },
  "luminance": 0.01487
}

Semantic roles & 50–950 ramp

primary
#08213E
secondary
#7D5425
accent
#9B34F4
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #08213E

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

Preview Lab → · Contrast checker → · Palette generator →

#08213E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva