#02151A#02151A

#02151A is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 18.2% C 0.029 H 216.0°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#02151A
RGBrgb(2, 21, 26)
HSLhsl(193, 86%, 5%)
HSVhsv(193, 92%, 10%)
CMYKcmyk(92.3%, 19.2%, 0%, 89.8%)
CIE-LABlab(5.63, -4.64, -5.57)
CIE-LCHlch(5.63, 7.25, 230.18°)
OKLaboklab(18.16% -0.0232 -0.0169)
OKLCHoklch(18.16% 0.029 216)
XYZxyz(0.4796, 0.6238, 1.0722)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02151A #1A0702
analogous
#021A13 #02151A #02091A
triadic
#02151A #1A0215 #151A02
tetradic
#02151A #13021A #1A0702 #091A02
square
#02151A #13021A #1A0702 #091A02
split-complementary
#02151A #1A0209 #1A1302
monochromatic
#02171C #02171C #02171C #064353 #0B718C

Accessibility & contrast

On white

18.67
#02151A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#02151A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02151A
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02151A#FFFFFF#000000##FFFFFF
##02151A1.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12141A
Deuteranopia (green-blind)
#0E111A
Tritanopia (blue-blind)
#001717
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #02151a;
/* rgb */ color: rgb(2, 21, 26);
/* oklch */ color: oklch(18.2% 0.029 216.0);
Tailwind
colors: {
  custom: {
    50: '#475256',
    500: '#02151a',
    950: '#000000',
  },
}
SCSS
$custom: #02151a;
$custom-light: #475256;
$custom-dark: #000000;
JSON
{
  "hex": "#02151a",
  "rgb": {
    "r": 2,
    "g": 21,
    "b": 26
  },
  "hsl": {
    "h": 192.5,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.18158,
    "c": 0.02871,
    "h": 216
  },
  "luminance": 0.00624
}

Semantic roles & 50–950 ramp

primary
#02151A
secondary
#602718
accent
#572CFC
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #02151A

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

Preview Lab → · Contrast checker → · Palette generator →

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