#08213B#08213B

#08213B is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.4% C 0.058 H 252.1°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#08213B
RGBrgb(8, 33, 59)
HSLhsl(211, 76%, 13%)
HSVhsv(211, 86%, 23%)
CMYKcmyk(86.4%, 44.1%, 0%, 76.9%)
CIE-LABlab(12.32, 1.46, -19.50)
CIE-LCHlch(12.32, 19.56, 274.28°)
OKLaboklab(24.42% -0.0179 -0.0556)
OKLCHoklch(24.42% 0.058 252.1)
XYZxyz(1.4331, 1.4549, 4.3421)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08213B #3B2208
analogous
#083A3B #08213B #08083B
triadic
#08213B #3B0821 #213B08
tetradic
#08213B #3B083A #3B2208 #083B08
square
#08213B #3B083A #3B2208 #083B08
split-complementary
#08213B #3B0808 #3A3B08
monochromatic
#040F1B #040F1B #08213B #0F3F71 #175DA7

Accessibility & contrast

On white

16.27
#08213B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08213B
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08213B#FFFFFF#000000##FFFFFF
##08213B1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08213b;
/* rgb */ color: rgb(8, 33, 59);
/* oklch */ color: oklch(24.4% 0.058 252.1);
Tailwind
colors: {
  custom: {
    50: '#505b71',
    500: '#08213b',
    950: '#000000',
  },
}
SCSS
$custom: #08213b;
$custom-light: #505b71;
$custom-dark: #000000;
JSON
{
  "hex": "#08213b",
  "rgb": {
    "r": 8,
    "g": 33,
    "b": 59
  },
  "hsl": {
    "h": 210.588,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24423,
    "c": 0.05844,
    "h": 252.1
  },
  "luminance": 0.01455
}

Semantic roles & 50–950 ramp

primary
#08213B
secondary
#7A5025
accent
#9635F3
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #08213B

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

Preview Lab → · Contrast checker → · Palette generator →

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