#021F19#021F19

#021F19 is a very dark, muted teal. Relative luminance 0.011; OKLCH L 21.5% C 0.037 H 176.7°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#021F19
RGBrgb(2, 31, 25)
HSLhsl(168, 88%, 6%)
HSVhsv(168, 94%, 12%)
CMYKcmyk(93.5%, 0%, 19.4%, 87.8%)
CIE-LABlab(9.51, -12.69, 0.89)
CIE-LCHlch(9.51, 12.72, 175.97°)
OKLaboklab(21.52% -0.0374 0.0022)
OKLCHoklch(21.52% 0.037 176.7)
XYZxyz(0.6904, 1.0630, 1.0883)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F19 #1F0208
analogous
#021F0B #021F19 #02171F
triadic
#021F19 #19021F #1F1902
tetradic
#021F19 #0B021F #1F0208 #171F02
square
#021F19 #0B021F #1F0208 #171F02
split-complementary
#021F19 #1F0217 #1F0B02
monochromatic
#021D17 #021D17 #021F19 #065847 #099276

Accessibility & contrast

On white

17.32
#021F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021F19
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F19#FFFFFF#000000##FFFFFF
##021F191.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1C19
Deuteranopia (green-blind)
#191919
Tritanopia (blue-blind)
#00201D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021f19;
/* rgb */ color: rgb(2, 31, 25);
/* oklch */ color: oklch(21.5% 0.037 176.7);
Tailwind
colors: {
  custom: {
    50: '#465a55',
    500: '#021f19',
    950: '#000000',
  },
}
SCSS
$custom: #021f19;
$custom-light: #465a55;
$custom-dark: #000000;
JSON
{
  "hex": "#021f19",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 25
  },
  "hsl": {
    "h": 167.586,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.21517,
    "c": 0.03743,
    "h": 176.7
  },
  "luminance": 0.01063
}

Semantic roles & 50–950 ramp

primary
#021F19
secondary
#651828
accent
#2A56FE
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000403
muted
#777978

Preview Lab

Preview with #021F19

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

Preview Lab → · Contrast checker → · Palette generator →

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