#021D1F#021D1F

#021D1F is a very dark, muted teal. Relative luminance 0.010; OKLCH L 21.1% C 0.033 H 201.7°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#021D1F
RGBrgb(2, 29, 31)
HSLhsl(184, 88%, 6%)
HSVhsv(184, 94%, 12%)
CMYKcmyk(93.5%, 6.5%, 0%, 87.8%)
CIE-LABlab(8.91, -9.26, -4.45)
CIE-LCHlch(8.91, 10.28, 205.66°)
OKLaboklab(21.11% -0.0311 -0.0124)
OKLCHoklch(21.11% 0.033 201.7)
XYZxyz(0.7116, 0.9905, 1.4497)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021D1F #1F0402
analogous
#021F13 #021D1F #020F1F
triadic
#021D1F #1F021D #1D1F02
tetradic
#021D1F #13021F #1F0402 #0F1F02
square
#021D1F #13021F #1F0402 #0F1F02
split-complementary
#021D1F #1F020F #1F1302
monochromatic
#021B1D #021B1D #021D1F #065358 #098992

Accessibility & contrast

On white

17.53
#021D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#021D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021D1F
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021D1F#FFFFFF#000000##FFFFFF
##021D1F1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1B1F
Deuteranopia (green-blind)
#15181F
Tritanopia (blue-blind)
#001F1E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #021d1f;
/* rgb */ color: rgb(2, 29, 31);
/* oklch */ color: oklch(21.1% 0.033 201.7);
Tailwind
colors: {
  custom: {
    50: '#47595a',
    500: '#021d1f',
    950: '#000000',
  },
}
SCSS
$custom: #021d1f;
$custom-light: #47595a;
$custom-dark: #000000;
JSON
{
  "hex": "#021d1f",
  "rgb": {
    "r": 2,
    "g": 29,
    "b": 31
  },
  "hsl": {
    "h": 184.138,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.21111,
    "c": 0.03343,
    "h": 201.7
  },
  "luminance": 0.00991
}

Semantic roles & 50–950 ramp

primary
#021D1F
secondary
#651D18
accent
#382AFE
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000303
muted
#777878

Preview Lab

Preview with #021D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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