#08213A#08213A

#08213A is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 24.3% C 0.057 H 251.3°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#08213A
RGBrgb(8, 33, 58)
HSLhsl(210, 76%, 13%)
HSVhsv(210, 86%, 23%)
CMYKcmyk(86.2%, 43.1%, 0%, 77.3%)
CIE-LABlab(12.25, 1.00, -18.90)
CIE-LCHlch(12.25, 18.93, 273.04°)
OKLaboklab(24.35% -0.0183 -0.0538)
OKLCHoklch(24.35% 0.057 251.3)
XYZxyz(1.4074, 1.4447, 4.2068)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08213A #3A2108
analogous
#083A3A #08213A #08083A
triadic
#08213A #3A0821 #213A08
tetradic
#08213A #3A083A #3A2108 #083A08
square
#08213A #3A083A #3A2108 #083A08
split-complementary
#08213A #3A0808 #3A3A08
monochromatic
#040F1B #040F1B #08213A #0F4070 #175EA6

Accessibility & contrast

On white

16.29
#08213A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#08213A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08213A
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08213A#FFFFFF#000000##FFFFFF
##08213A1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15233B
Deuteranopia (green-blind)
#0E1E3A
Tritanopia (blue-blind)
#00272A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #08213a;
/* rgb */ color: rgb(8, 33, 58);
/* oklch */ color: oklch(24.3% 0.057 251.3);
Tailwind
colors: {
  custom: {
    50: '#505b70',
    500: '#08213a',
    950: '#000000',
  },
}
SCSS
$custom: #08213a;
$custom-light: #505b70;
$custom-dark: #000000;
JSON
{
  "hex": "#08213a",
  "rgb": {
    "r": 8,
    "g": 33,
    "b": 58
  },
  "hsl": {
    "h": 210,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24349,
    "c": 0.05685,
    "h": 251.3
  },
  "luminance": 0.01445
}

Semantic roles & 50–950 ramp

primary
#08213A
secondary
#794F25
accent
#9435F2
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #08213A

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

Preview Lab → · Contrast checker → · Palette generator →

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