#08213C#08213C

#08213C is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.5% C 0.060 H 252.9°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#08213C
RGBrgb(8, 33, 60)
HSLhsl(211, 76%, 13%)
HSVhsv(211, 87%, 24%)
CMYKcmyk(86.7%, 45%, 0%, 76.5%)
CIE-LABlab(12.39, 1.92, -20.10)
CIE-LCHlch(12.39, 20.19, 275.45°)
OKLaboklab(24.5% -0.0176 -0.0574)
OKLCHoklch(24.5% 0.06 252.9)
XYZxyz(1.4593, 1.4654, 4.4800)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08213C #3C2308
analogous
#083B3C #08213C #09083C
triadic
#08213C #3C0821 #213C08
tetradic
#08213C #3C083B #3C2308 #083C09
square
#08213C #3C083B #3C2308 #083C09
split-complementary
#08213C #3C0908 #3B3C08
monochromatic
#040F1B #040F1B #08213C #0F3F72 #165CA8

Accessibility & contrast

On white

16.24
#08213C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08213C
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08213C#FFFFFF#000000##FFFFFF
##08213C1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14233D
Deuteranopia (green-blind)
#0C1E3B
Tritanopia (blue-blind)
#00272B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #08213c;
/* rgb */ color: rgb(8, 33, 60);
/* oklch */ color: oklch(24.5% 0.060 252.9);
Tailwind
colors: {
  custom: {
    50: '#505b72',
    500: '#08213c',
    950: '#000000',
  },
}
SCSS
$custom: #08213c;
$custom-light: #505b72;
$custom-dark: #000000;
JSON
{
  "hex": "#08213c",
  "rgb": {
    "r": 8,
    "g": 33,
    "b": 60
  },
  "hsl": {
    "h": 211.154,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24498,
    "c": 0.06001,
    "h": 252.9
  },
  "luminance": 0.01466
}

Semantic roles & 50–950 ramp

primary
#08213C
secondary
#7B5225
accent
#9835F3
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020408
muted
#78797B

Preview Lab

Preview with #08213C

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

Preview Lab → · Contrast checker → · Palette generator →

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