#021F1D#021F1D

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

Color values

HEX#021F1D
RGBrgb(2, 31, 29)
HSLhsl(176, 88%, 6%)
HSVhsv(176, 94%, 12%)
CMYKcmyk(93.5%, 0%, 6.5%, 87.8%)
CIE-LABlab(9.65, -11.43, -1.86)
CIE-LCHlch(9.65, 11.58, 189.22°)
OKLaboklab(21.69% -0.0349 -0.0052)
OKLCHoklch(21.69% 0.035 188.5)
XYZxyz(0.7367, 1.0815, 1.3321)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F1D #1F0204
analogous
#021F0F #021F1D #02131F
triadic
#021F1D #1D021F #1F1D02
tetradic
#021F1D #0F021F #1F0204 #131F02
square
#021F1D #0F021F #1F0204 #131F02
split-complementary
#021F1D #1F0213 #1F0F02
monochromatic
#021D1B #021D1B #021F1D #065853 #099289

Accessibility & contrast

On white

17.26
#021F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021F1D
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F1D#FFFFFF#000000##FFFFFF
##021F1D1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1D1D
Deuteranopia (green-blind)
#18191D
Tritanopia (blue-blind)
#00201E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #021f1d;
/* rgb */ color: rgb(2, 31, 29);
/* oklch */ color: oklch(21.7% 0.035 188.5);
Tailwind
colors: {
  custom: {
    50: '#475a58',
    500: '#021f1d',
    950: '#000000',
  },
}
SCSS
$custom: #021f1d;
$custom-light: #475a58;
$custom-dark: #000000;
JSON
{
  "hex": "#021f1d",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 29
  },
  "hsl": {
    "h": 175.862,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.21686,
    "c": 0.03527,
    "h": 188.5
  },
  "luminance": 0.01082
}

Semantic roles & 50–950 ramp

primary
#021F1D
secondary
#65181D
accent
#2A38FE
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000403
muted
#777978

Preview Lab

Preview with #021F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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