#02151B#02151B

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

Color values

HEX#02151B
RGBrgb(2, 21, 27)
HSLhsl(194, 86%, 6%)
HSVhsv(194, 93%, 11%)
CMYKcmyk(92.6%, 22.2%, 0%, 89.4%)
CIE-LABlab(5.68, -4.35, -6.28)
CIE-LCHlch(5.68, 7.64, 235.27°)
OKLaboklab(18.22% -0.0227 -0.0189)
OKLCHoklch(18.22% 0.03 219.7)
XYZxyz(0.4909, 0.6283, 1.1321)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02151B #1B0802
analogous
#021B14 #02151B #02081B
triadic
#02151B #1B0215 #151B02
tetradic
#02151B #14021B #1B0802 #081B02
square
#02151B #14021B #1B0802 #081B02
split-complementary
#02151B #1B0208 #1B1402
monochromatic
#02161C #02161C #02161C #064154 #0A6E8D

Accessibility & contrast

On white

18.66
#02151B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#02151B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02151B
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02151B#FFFFFF#000000##FFFFFF
##02151B1.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11141B
Deuteranopia (green-blind)
#0D111B
Tritanopia (blue-blind)
#001717
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #02151b;
/* rgb */ color: rgb(2, 21, 27);
/* oklch */ color: oklch(18.2% 0.029 219.7);
Tailwind
colors: {
  custom: {
    50: '#475257',
    500: '#02151b',
    950: '#000000',
  },
}
SCSS
$custom: #02151b;
$custom-light: #475257;
$custom-dark: #000000;
JSON
{
  "hex": "#02151b",
  "rgb": {
    "r": 2,
    "g": 21,
    "b": 27
  },
  "hsl": {
    "h": 194.4,
    "s": 86.207,
    "l": 5.686
  },
  "oklch": {
    "l": 0.18217,
    "c": 0.0295,
    "h": 219.7
  },
  "luminance": 0.00628
}

Semantic roles & 50–950 ramp

primary
#02151B
secondary
#612918
accent
#5E2BFC
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #02151B

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

Preview Lab → · Contrast checker → · Palette generator →

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