#02181A#02181A

#02181A is a very dark, muted teal. Relative luminance 0.007; OKLCH L 19.2% C 0.030 H 202.8°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#02181A
RGBrgb(2, 24, 26)
HSLhsl(185, 86%, 5%)
HSVhsv(185, 92%, 10%)
CMYKcmyk(92.3%, 7.7%, 0%, 89.8%)
CIE-LABlab(6.69, -6.80, -4.00)
CIE-LCHlch(6.69, 7.89, 210.49°)
OKLaboklab(19.17% -0.0273 -0.0115)
OKLCHoklch(19.17% 0.03 202.8)
XYZxyz(0.5380, 0.7407, 1.0917)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02181A #1A0402
analogous
#021A10 #02181A #020C1A
triadic
#02181A #1A0218 #181A02
tetradic
#02181A #10021A #1A0402 #0C1A02
square
#02181A #10021A #1A0402 #0C1A02
split-complementary
#02181A #1A020C #1A1002
monochromatic
#021A1C #021A1C #021A1C #064C53 #0B818C

Accessibility & contrast

On white

18.29
#02181A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#02181A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02181A
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02181A#FFFFFF#000000##FFFFFF
##02181A1.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15161A
Deuteranopia (green-blind)
#11141A
Tritanopia (blue-blind)
#001919
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #02181a;
/* rgb */ color: rgb(2, 24, 26);
/* oklch */ color: oklch(19.2% 0.030 202.8);
Tailwind
colors: {
  custom: {
    50: '#475456',
    500: '#02181a',
    950: '#000000',
  },
}
SCSS
$custom: #02181a;
$custom-light: #475456;
$custom-dark: #000000;
JSON
{
  "hex": "#02181a",
  "rgb": {
    "r": 2,
    "g": 24,
    "b": 26
  },
  "hsl": {
    "h": 185,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.19174,
    "c": 0.02964,
    "h": 202.8
  },
  "luminance": 0.00741
}

Semantic roles & 50–950 ramp

primary
#02181A
secondary
#601E18
accent
#3D2CFC
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #02181A

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

Preview Lab → · Contrast checker → · Palette generator →

#02181A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva