#021816#021816

#021816 is a very dark, muted teal. Relative luminance 0.007; OKLCH L 19.0% C 0.030 H 187.2°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#021816
RGBrgb(2, 24, 22)
HSLhsl(175, 85%, 5%)
HSVhsv(175, 92%, 9%)
CMYKcmyk(91.7%, 0%, 8.3%, 90.6%)
CIE-LABlab(6.54, -7.85, -1.20)
CIE-LCHlch(6.54, 7.95, 188.72°)
OKLaboklab(18.98% -0.0298 -0.0038)
OKLCHoklch(18.98% 0.03 187.2)
XYZxyz(0.4964, 0.7240, 0.8725)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021816 #180204
analogous
#02180B #021816 #020F18
triadic
#021816 #160218 #181602
tetradic
#021816 #0B0218 #180204 #0F1802
square
#021816 #0B0218 #180204 #0F1802
split-complementary
#021816 #18020F #180B02
monochromatic
#021C1A #021C1A #021C1A #07504A #0B897E

Accessibility & contrast

On white

18.34
#021816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#021816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021816
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021816#FFFFFF#000000##FFFFFF
##0218161.0018.341.1418.34
#FFFFFF18.341.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161616
Deuteranopia (green-blind)
#121316
Tritanopia (blue-blind)
#001917
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #021816;
/* rgb */ color: rgb(2, 24, 22);
/* oklch */ color: oklch(19.0% 0.030 187.2);
Tailwind
colors: {
  custom: {
    50: '#475452',
    500: '#021816',
    950: '#000000',
  },
}
SCSS
$custom: #021816;
$custom-light: #475452;
$custom-dark: #000000;
JSON
{
  "hex": "#021816",
  "rgb": {
    "r": 2,
    "g": 24,
    "b": 22
  },
  "hsl": {
    "h": 174.545,
    "s": 84.615,
    "l": 5.098
  },
  "oklch": {
    "l": 0.18979,
    "c": 0.03,
    "h": 187.2
  },
  "luminance": 0.00724
}

Semantic roles & 50–950 ramp

primary
#021816
secondary
#5E181E
accent
#2D40FB
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000202
muted
#777878

Preview Lab

Preview with #021816

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

Preview Lab → · Contrast checker → · Palette generator →

#021816 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva