#021A17#021A17

#021A17 is a very dark, muted teal. Relative luminance 0.008; OKLCH L 19.7% C 0.032 H 184.1°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#021A17
RGBrgb(2, 26, 23)
HSLhsl(173, 86%, 5%)
HSVhsv(173, 92%, 10%)
CMYKcmyk(92.3%, 0%, 11.5%, 89.8%)
CIE-LABlab(7.35, -9.18, -0.75)
CIE-LCHlch(7.35, 9.22, 184.70°)
OKLaboklab(19.72% -0.0319 -0.0023)
OKLCHoklch(19.72% 0.032 184.1)
XYZxyz(0.5490, 0.8135, 0.9385)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A17 #1A0205
analogous
#021A0B #021A17 #02111A
triadic
#021A17 #17021A #1A1702
tetradic
#021A17 #0B021A #1A0205 #111A02
square
#021A17 #0B021A #1A0205 #111A02
split-complementary
#021A17 #1A0211 #1A0B02
monochromatic
#021C19 #021C19 #021C19 #065349 #0B8C7C

Accessibility & contrast

On white

18.06
#021A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#021A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021A17
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A17#FFFFFF#000000##FFFFFF
##021A171.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181817
Deuteranopia (green-blind)
#141517
Tritanopia (blue-blind)
#001B19
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #021a17;
/* rgb */ color: rgb(2, 26, 23);
/* oklch */ color: oklch(19.7% 0.032 184.1);
Tailwind
colors: {
  custom: {
    50: '#475653',
    500: '#021a17',
    950: '#000000',
  },
}
SCSS
$custom: #021a17;
$custom-light: #475653;
$custom-dark: #000000;
JSON
{
  "hex": "#021a17",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 23
  },
  "hsl": {
    "h": 172.5,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.19715,
    "c": 0.03198,
    "h": 184.1
  },
  "luminance": 0.00814
}

Semantic roles & 50–950 ramp

primary
#021A17
secondary
#601821
accent
#2C46FC
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000302
muted
#777878

Preview Lab

Preview with #021A17

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

Preview Lab → · Contrast checker → · Palette generator →

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