#021B20#021B20

#021B20 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.5% C 0.033 H 212.5°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#021B20
RGBrgb(2, 27, 32)
HSLhsl(190, 88%, 7%)
HSVhsv(190, 94%, 13%)
CMYKcmyk(93.8%, 15.6%, 0%, 87.5%)
CIE-LABlab(8.14, -7.32, -6.37)
CIE-LCHlch(8.14, 9.71, 221.05°)
OKLaboklab(20.5% -0.0279 -0.0178)
OKLCHoklch(20.5% 0.033 212.5)
XYZxyz(0.6776, 0.9010, 1.5044)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B20 #200702
analogous
#022016 #021B20 #020C20
triadic
#021B20 #20021B #1B2002
tetradic
#021B20 #160220 #200702 #0C2002
square
#021B20 #160220 #200702 #0C2002
split-complementary
#021B20 #20020C #201602
monochromatic
#02181D #02181D #021B20 #064C5A #097C93

Accessibility & contrast

On white

17.79
#021B20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#021B20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021B20
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B20#FFFFFF#000000##FFFFFF
##021B201.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171A20
Deuteranopia (green-blind)
#131620
Tritanopia (blue-blind)
#001D1D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #021b20;
/* rgb */ color: rgb(2, 27, 32);
/* oklch */ color: oklch(20.5% 0.033 212.5);
Tailwind
colors: {
  custom: {
    50: '#47575b',
    500: '#021b20',
    950: '#000000',
  },
}
SCSS
$custom: #021b20;
$custom-light: #47575b;
$custom-dark: #000000;
JSON
{
  "hex": "#021b20",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 32
  },
  "hsl": {
    "h": 190,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.20501,
    "c": 0.03308,
    "h": 212.5
  },
  "luminance": 0.00901
}

Semantic roles & 50–950 ramp

primary
#021B20
secondary
#662518
accent
#4D29FE
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000304
muted
#777879

Preview Lab

Preview with #021B20

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

Preview Lab → · Contrast checker → · Palette generator →

#021B20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva