#021820#021820

#021820 is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 19.5% C 0.033 H 224.0°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#021820
RGBrgb(2, 24, 32)
HSLhsl(196, 88%, 7%)
HSVhsv(196, 94%, 13%)
CMYKcmyk(93.8%, 25%, 0%, 87.5%)
CIE-LABlab(6.96, -4.91, -8.17)
CIE-LCHlch(6.96, 9.54, 238.99°)
OKLaboklab(19.51% -0.024 -0.0232)
OKLCHoklch(19.51% 0.033 224)
XYZxyz(0.6123, 0.7704, 1.4826)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021820 #200A02
analogous
#022019 #021820 #020920
triadic
#021820 #200218 #182002
tetradic
#021820 #190220 #200A02 #092002
square
#021820 #190220 #200A02 #092002
split-complementary
#021820 #200209 #201902
monochromatic
#02161D #02161D #021820 #06435A #096E93

Accessibility & contrast

On white

18.20
#021820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#021820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021820
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021820#FFFFFF#000000##FFFFFF
##0218201.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131720
Deuteranopia (green-blind)
#0F1420
Tritanopia (blue-blind)
#001A1B
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #021820;
/* rgb */ color: rgb(2, 24, 32);
/* oklch */ color: oklch(19.5% 0.033 224.0);
Tailwind
colors: {
  custom: {
    50: '#47545b',
    500: '#021820',
    950: '#000000',
  },
}
SCSS
$custom: #021820;
$custom-light: #47545b;
$custom-dark: #000000;
JSON
{
  "hex": "#021820",
  "rgb": {
    "r": 2,
    "g": 24,
    "b": 32
  },
  "hsl": {
    "h": 196,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.19513,
    "c": 0.03335,
    "h": 224
  },
  "luminance": 0.0077
}

Semantic roles & 50–950 ramp

primary
#021820
secondary
#662D18
accent
#6229FE
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000204
muted
#777879

Preview Lab

Preview with #021820

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

Preview Lab → · Contrast checker → · Palette generator →

#021820 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva