#021020#021020

#021020 is a very dark, muted cyan. Relative luminance 0.005; OKLCH L 16.9% C 0.041 H 249.8°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#021020
RGBrgb(2, 16, 32)
HSLhsl(212, 88%, 7%)
HSVhsv(212, 94%, 13%)
CMYKcmyk(93.8%, 50%, 0%, 87.5%)
CIE-LABlab(4.41, 0.30, -12.07)
CIE-LCHlch(4.41, 12.07, 271.43°)
OKLaboklab(16.94% -0.014 -0.038)
OKLCHoklch(16.94% 0.041 249.8)
XYZxyz(0.4709, 0.4877, 1.4355)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021020 #201202
analogous
#021F20 #021020 #030220
triadic
#021020 #200210 #102002
tetradic
#021020 #20021F #201202 #022003
square
#021020 #20021F #201202 #022003
split-complementary
#021020 #200302 #1F2002
monochromatic
#020E1D #020E1D #021020 #062D5A #094A93

Accessibility & contrast

On white

19.13
#021020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#021020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021020
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021020#FFFFFF#000000##FFFFFF
##0210201.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091121
Deuteranopia (green-blind)
#050E20
Tritanopia (blue-blind)
#001416
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #021020;
/* rgb */ color: rgb(2, 16, 32);
/* oklch */ color: oklch(16.9% 0.041 249.8);
Tailwind
colors: {
  custom: {
    50: '#474e5b',
    500: '#021020',
    950: '#000000',
  },
}
SCSS
$custom: #021020;
$custom-light: #474e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#021020",
  "rgb": {
    "r": 2,
    "g": 16,
    "b": 32
  },
  "hsl": {
    "h": 212,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.16942,
    "c": 0.04051,
    "h": 249.8
  },
  "luminance": 0.00488
}

Semantic roles & 50–950 ramp

primary
#021020
secondary
#664118
accent
#9B29FE
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000104
muted
#777779

Preview Lab

Preview with #021020

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

Preview Lab → · Contrast checker → · Palette generator →

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