#021E1F#021E1F

#021E1F is a very dark, muted teal. Relative luminance 0.010; OKLCH L 21.4% C 0.034 H 198.2°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#021E1F
RGBrgb(2, 30, 31)
HSLhsl(182, 88%, 6%)
HSVhsv(182, 94%, 12%)
CMYKcmyk(93.5%, 3.2%, 0%, 87.8%)
CIE-LABlab(9.32, -10.01, -3.83)
CIE-LCHlch(9.32, 10.72, 200.94°)
OKLaboklab(21.45% -0.0324 -0.0107)
OKLCHoklch(21.45% 0.034 198.2)
XYZxyz(0.7365, 1.0403, 1.4580)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021E1F #1F0302
analogous
#021F12 #021E1F #02101F
triadic
#021E1F #1F021E #1E1F02
tetradic
#021E1F #12021F #1F0302 #101F02
square
#021E1F #12021F #1F0302 #101F02
split-complementary
#021E1F #1F0210 #1F1202
monochromatic
#021C1D #021C1D #021E1F #065658 #098D92

Accessibility & contrast

On white

17.38
#021E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#021E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021E1F
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021E1F#FFFFFF#000000##FFFFFF
##021E1F1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1C1F
Deuteranopia (green-blind)
#16191F
Tritanopia (blue-blind)
#001F1E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021e1f;
/* rgb */ color: rgb(2, 30, 31);
/* oklch */ color: oklch(21.4% 0.034 198.2);
Tailwind
colors: {
  custom: {
    50: '#47595a',
    500: '#021e1f',
    950: '#000000',
  },
}
SCSS
$custom: #021e1f;
$custom-light: #47595a;
$custom-dark: #000000;
JSON
{
  "hex": "#021e1f",
  "rgb": {
    "r": 2,
    "g": 30,
    "b": 31
  },
  "hsl": {
    "h": 182.069,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.21445,
    "c": 0.03408,
    "h": 198.2
  },
  "luminance": 0.0104
}

Semantic roles & 50–950 ramp

primary
#021E1F
secondary
#651B18
accent
#312AFE
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000303
muted
#777878

Preview Lab

Preview with #021E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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