#02201F#02201F

#02201F is a very dark, muted teal. Relative luminance 0.011; OKLCH L 22.1% C 0.036 H 191.8°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#02201F
RGBrgb(2, 32, 31)
HSLhsl(178, 88%, 7%)
HSVhsv(178, 94%, 13%)
CMYKcmyk(93.8%, 0%, 3.1%, 87.5%)
CIE-LABlab(10.14, -11.41, -2.61)
CIE-LCHlch(10.14, 11.70, 192.86°)
OKLaboklab(22.11% -0.035 -0.0073)
OKLCHoklch(22.11% 0.036 191.8)
XYZxyz(0.7888, 1.1448, 1.4754)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02201F #200203
analogous
#022010 #02201F #021220
triadic
#02201F #1F0220 #201F02
tetradic
#02201F #100220 #200203 #122002
square
#02201F #100220 #200203 #122002
split-complementary
#02201F #200212 #201002
monochromatic
#021D1C #021D1C #02201F #065A57 #09938F

Accessibility & contrast

On white

17.09
#02201F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#02201F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02201F
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02201F#FFFFFF#000000##FFFFFF
##02201F1.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1E1F
Deuteranopia (green-blind)
#191A1F
Tritanopia (blue-blind)
#002120
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #02201f;
/* rgb */ color: rgb(2, 32, 31);
/* oklch */ color: oklch(22.1% 0.036 191.8);
Tailwind
colors: {
  custom: {
    50: '#475b5a',
    500: '#02201f',
    950: '#000000',
  },
}
SCSS
$custom: #02201f;
$custom-light: #475b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#02201f",
  "rgb": {
    "r": 2,
    "g": 32,
    "b": 31
  },
  "hsl": {
    "h": 178,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.22112,
    "c": 0.03572,
    "h": 191.8
  },
  "luminance": 0.01145
}

Semantic roles & 50–950 ramp

primary
#02201F
secondary
#66181B
accent
#2931FE
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000403
muted
#777978

Preview Lab

Preview with #02201F

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

Preview Lab → · Contrast checker → · Palette generator →

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