#021A18#021A18

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

Color values

HEX#021A18
RGBrgb(2, 26, 24)
HSLhsl(175, 86%, 5%)
HSVhsv(175, 92%, 10%)
CMYKcmyk(92.3%, 0%, 7.7%, 89.8%)
CIE-LABlab(7.39, -8.93, -1.46)
CIE-LCHlch(7.39, 9.04, 189.27°)
OKLaboklab(19.76% -0.0313 -0.0042)
OKLCHoklch(19.76% 0.032 187.6)
XYZxyz(0.5592, 0.8176, 0.9923)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A18 #1A0204
analogous
#021A0C #021A18 #02101A
triadic
#021A18 #18021A #1A1802
tetradic
#021A18 #0C021A #1A0204 #101A02
square
#021A18 #0C021A #1A0204 #101A02
split-complementary
#021A18 #1A0210 #1A0C02
monochromatic
#021C1A #021C1A #021C1A #06534C #0B8C81

Accessibility & contrast

On white

18.05
#021A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021A18
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A18#FFFFFF#000000##FFFFFF
##021A181.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021a18;
/* rgb */ color: rgb(2, 26, 24);
/* oklch */ color: oklch(19.8% 0.032 187.6);
Tailwind
colors: {
  custom: {
    50: '#475654',
    500: '#021a18',
    950: '#000000',
  },
}
SCSS
$custom: #021a18;
$custom-light: #475654;
$custom-dark: #000000;
JSON
{
  "hex": "#021a18",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 24
  },
  "hsl": {
    "h": 175,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.1976,
    "c": 0.03155,
    "h": 187.6
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#021A18
secondary
#60181E
accent
#2C3DFC
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000302
muted
#777878

Preview Lab

Preview with #021A18

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

Preview Lab → · Contrast checker → · Palette generator →

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