#021F21#021F21

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

Color values

HEX#021F21
RGBrgb(2, 31, 33)
HSLhsl(184, 89%, 7%)
HSVhsv(184, 94%, 13%)
CMYKcmyk(93.9%, 6.1%, 0%, 87.1%)
CIE-LABlab(9.82, -9.98, -4.57)
CIE-LCHlch(9.82, 10.98, 204.61°)
OKLaboklab(21.88% -0.0325 -0.0127)
OKLCHoklch(21.88% 0.035 201.4)
XYZxyz(0.7894, 1.1026, 1.6098)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F21 #210402
analogous
#022114 #021F21 #021021
triadic
#021F21 #21021F #1F2102
tetradic
#021F21 #140221 #210402 #102102
square
#021F21 #140221 #210402 #102102
split-complementary
#021F21 #210210 #211402
monochromatic
#021B1D #021B1D #021F21 #05555B #098B94

Accessibility & contrast

On white

17.20
#021F21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021F21
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F21#FFFFFF#000000##FFFFFF
##021F211.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021f21;
/* rgb */ color: rgb(2, 31, 33);
/* oklch */ color: oklch(21.9% 0.035 201.4);
Tailwind
colors: {
  custom: {
    50: '#475a5c',
    500: '#021f21',
    950: '#000000',
  },
}
SCSS
$custom: #021f21;
$custom-light: #475a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#021f21",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 33
  },
  "hsl": {
    "h": 183.871,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.21875,
    "c": 0.0349,
    "h": 201.4
  },
  "luminance": 0.01103
}

Semantic roles & 50–950 ramp

primary
#021F21
secondary
#671D18
accent
#3729FF
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000404
muted
#777979

Preview Lab

Preview with #021F21

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

Preview Lab → · Contrast checker → · Palette generator →

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