#021717#021717

#021717 is a very dark, muted teal. Relative luminance 0.007; OKLCH L 18.7% C 0.029 H 195.0°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#021717
RGBrgb(2, 23, 23)
HSLhsl(180, 84%, 5%)
HSVhsv(180, 91%, 9%)
CMYKcmyk(91.3%, 0%, 0%, 91%)
CIE-LABlab(6.21, -6.86, -2.42)
CIE-LCHlch(6.21, 7.27, 199.41°)
OKLaboklab(18.68% -0.0277 -0.0074)
OKLCHoklch(18.68% 0.029 195)
XYZxyz(0.4860, 0.6875, 0.9175)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021717 #170202
analogous
#02170D #021717 #020D17
triadic
#021717 #170217 #171702
tetradic
#021717 #0D0217 #170202 #0D1702
square
#021717 #0D0217 #170202 #0D1702
split-complementary
#021717 #17020D #170D02
monochromatic
#021C1C #021C1C #021C1C #074F4F #0C8888

Accessibility & contrast

On white

18.46
#021717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021717
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021717#FFFFFF#000000##FFFFFF
##0217171.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151517
Deuteranopia (green-blind)
#111317
Tritanopia (blue-blind)
#001817
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #021717;
/* rgb */ color: rgb(2, 23, 23);
/* oklch */ color: oklch(18.7% 0.029 195.0);
Tailwind
colors: {
  custom: {
    50: '#475353',
    500: '#021717',
    950: '#000000',
  },
}
SCSS
$custom: #021717;
$custom-light: #475353;
$custom-dark: #000000;
JSON
{
  "hex": "#021717",
  "rgb": {
    "r": 2,
    "g": 23,
    "b": 23
  },
  "hsl": {
    "h": 180,
    "s": 84,
    "l": 4.902
  },
  "oklch": {
    "l": 0.1868,
    "c": 0.02872,
    "h": 195
  },
  "luminance": 0.00688
}

Semantic roles & 50–950 ramp

primary
#021717
secondary
#5D1818
accent
#2E2EFA
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000202
muted
#777878

Preview Lab

Preview with #021717

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

Preview Lab → · Contrast checker → · Palette generator →

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