#08213F#08213F

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

Color values

HEX#08213F
RGBrgb(8, 33, 63)
HSLhsl(213, 77%, 14%)
HSVhsv(213, 87%, 25%)
CMYKcmyk(87.3%, 47.6%, 0%, 75.3%)
CIE-LABlab(12.60, 3.29, -21.88)
CIE-LCHlch(12.60, 22.13, 278.55°)
OKLaboklab(24.73% -0.0168 -0.0626)
OKLCHoklch(24.73% 0.065 255)
XYZxyz(1.5409, 1.4980, 4.9096)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08213F #3F2608
analogous
#083D3F #08213F #0B083F
triadic
#08213F #3F0821 #213F08
tetradic
#08213F #3F083D #3F2608 #083F0B
square
#08213F #3F083D #3F2608 #083F0B
split-complementary
#08213F #3F0B08 #3D3F08
monochromatic
#030E1B #030E1B #08213F #0F3D75 #165AAC

Accessibility & contrast

On white

16.16
#08213F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08213F
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08213F#FFFFFF#000000##FFFFFF
##08213F1.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122340
Deuteranopia (green-blind)
#091E3E
Tritanopia (blue-blind)
#00282C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #08213f;
/* rgb */ color: rgb(8, 33, 63);
/* oklch */ color: oklch(24.7% 0.065 255.0);
Tailwind
colors: {
  custom: {
    50: '#515b74',
    500: '#08213f',
    950: '#000000',
  },
}
SCSS
$custom: #08213f;
$custom-light: #515b74;
$custom-dark: #000000;
JSON
{
  "hex": "#08213f",
  "rgb": {
    "r": 8,
    "g": 33,
    "b": 63
  },
  "hsl": {
    "h": 212.727,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24729,
    "c": 0.06481,
    "h": 255
  },
  "luminance": 0.01498
}

Semantic roles & 50–950 ramp

primary
#08213F
secondary
#7E5525
accent
#9D34F4
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #08213F

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

Preview Lab → · Contrast checker → · Palette generator →

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