#02181C#02181C

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

Color values

HEX#02181C
RGBrgb(2, 24, 28)
HSLhsl(189, 87%, 6%)
HSVhsv(189, 93%, 11%)
CMYKcmyk(92.9%, 14.3%, 0%, 89%)
CIE-LABlab(6.77, -6.21, -5.41)
CIE-LCHlch(6.77, 8.23, 221.07°)
OKLaboklab(19.28% -0.0262 -0.0154)
OKLCHoklch(19.28% 0.03 210.5)
XYZxyz(0.5612, 0.7499, 1.2136)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02181C #1C0602
analogous
#021C13 #02181C #020B1C
triadic
#02181C #1C0218 #181C02
tetradic
#02181C #13021C #1C0602 #0B1C02
square
#02181C #13021C #1C0602 #0B1C02
split-complementary
#02181C #1C020B #1C1302
monochromatic
#02181D #02181D #02181D #064955 #0A7A8E

Accessibility & contrast

On white

18.26
#02181C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02181C
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02181C#FFFFFF#000000##FFFFFF
##02181C1.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15171C
Deuteranopia (green-blind)
#11141C
Tritanopia (blue-blind)
#001A19
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #02181c;
/* rgb */ color: rgb(2, 24, 28);
/* oklch */ color: oklch(19.3% 0.030 210.5);
Tailwind
colors: {
  custom: {
    50: '#475458',
    500: '#02181c',
    950: '#000000',
  },
}
SCSS
$custom: #02181c;
$custom-light: #475458;
$custom-dark: #000000;
JSON
{
  "hex": "#02181c",
  "rgb": {
    "r": 2,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 189.231,
    "s": 86.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.19281,
    "c": 0.03035,
    "h": 210.5
  },
  "luminance": 0.0075
}

Semantic roles & 50–950 ramp

primary
#02181C
secondary
#622318
accent
#4B2BFD
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #02181C

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

Preview Lab → · Contrast checker → · Palette generator →

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