#021817#021817

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

Color values

HEX#021817
RGBrgb(2, 24, 23)
HSLhsl(177, 85%, 5%)
HSVhsv(177, 92%, 9%)
CMYKcmyk(91.7%, 0%, 4.2%, 90.6%)
CIE-LABlab(6.58, -7.60, -1.88)
CIE-LCHlch(6.58, 7.83, 193.91°)
OKLaboklab(19.02% -0.0291 -0.0057)
OKLCHoklch(19.02% 0.03 191)
XYZxyz(0.5063, 0.7280, 0.9243)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021817 #180203
analogous
#02180C #021817 #020E18
triadic
#021817 #170218 #181702
tetradic
#021817 #0C0218 #180203 #0E1802
square
#021817 #0C0218 #180203 #0E1802
split-complementary
#021817 #18020E #180C02
monochromatic
#021C1B #021C1B #021C1B #07504D #0B8983

Accessibility & contrast

On white

18.33
#021817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#021817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021817
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021817#FFFFFF#000000##FFFFFF
##0218171.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161617
Deuteranopia (green-blind)
#121317
Tritanopia (blue-blind)
#001918
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #021817;
/* rgb */ color: rgb(2, 24, 23);
/* oklch */ color: oklch(19.0% 0.030 191.0);
Tailwind
colors: {
  custom: {
    50: '#475453',
    500: '#021817',
    950: '#000000',
  },
}
SCSS
$custom: #021817;
$custom-light: #475453;
$custom-dark: #000000;
JSON
{
  "hex": "#021817",
  "rgb": {
    "r": 2,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 177.273,
    "s": 84.615,
    "l": 5.098
  },
  "oklch": {
    "l": 0.19025,
    "c": 0.02969,
    "h": 191
  },
  "luminance": 0.00728
}

Semantic roles & 50–950 ramp

primary
#021817
secondary
#5E181B
accent
#2D36FB
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000202
muted
#777878

Preview Lab

Preview with #021817

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

Preview Lab → · Contrast checker → · Palette generator →

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