#021F22#021F22

#021F22 is a very dark, muted teal. Relative luminance 0.011; OKLCH L 21.9% C 0.035 H 204.6°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#021F22
RGBrgb(2, 31, 34)
HSLhsl(186, 89%, 7%)
HSVhsv(186, 94%, 13%)
CMYKcmyk(94.1%, 8.8%, 0%, 86.7%)
CIE-LABlab(9.86, -9.59, -5.24)
CIE-LCHlch(9.86, 10.93, 208.66°)
OKLaboklab(21.93% -0.0319 -0.0146)
OKLCHoklch(21.93% 0.035 204.6)
XYZxyz(0.8036, 1.1083, 1.6846)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F22 #220502
analogous
#022215 #021F22 #020F22
triadic
#021F22 #22021F #1F2202
tetradic
#021F22 #150222 #220502 #0F2202
square
#021F22 #150222 #220502 #0F2202
split-complementary
#021F22 #22020F #221502
monochromatic
#021A1D #021A1D #021F22 #05545C #098896

Accessibility & contrast

On white

17.19
#021F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#021F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021F22
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F22#FFFFFF#000000##FFFFFF
##021F221.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1D22
Deuteranopia (green-blind)
#171A22
Tritanopia (blue-blind)
#002120
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #021f22;
/* rgb */ color: rgb(2, 31, 34);
/* oklch */ color: oklch(21.9% 0.035 204.6);
Tailwind
colors: {
  custom: {
    50: '#475a5c',
    500: '#021f22',
    950: '#000000',
  },
}
SCSS
$custom: #021f22;
$custom-light: #475a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#021f22",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 185.625,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.21926,
    "c": 0.03511,
    "h": 204.6
  },
  "luminance": 0.01108
}

Semantic roles & 50–950 ramp

primary
#021F22
secondary
#682018
accent
#3D29FF
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000404
muted
#777979

Preview Lab

Preview with #021F22

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

Preview Lab → · Contrast checker → · Palette generator →

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