#02151E#02151E

#02151E is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 18.4% C 0.033 H 229.5°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#02151E
RGBrgb(2, 21, 30)
HSLhsl(199, 88%, 6%)
HSVhsv(199, 93%, 12%)
CMYKcmyk(93.3%, 30%, 0%, 88.2%)
CIE-LABlab(5.81, -3.43, -8.40)
CIE-LCHlch(5.81, 9.07, 247.80°)
OKLaboklab(18.4% -0.0211 -0.0248)
OKLCHoklch(18.4% 0.033 229.5)
XYZxyz(0.5274, 0.6429, 1.3243)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02151E #1E0B02
analogous
#021E19 #02151E #02071E
triadic
#02151E #1E0215 #151E02
tetradic
#02151E #19021E #1E0B02 #071E02
square
#02151E #19021E #1E0B02 #071E02
split-complementary
#02151E #1E0207 #1E1902
monochromatic
#02141D #02141D #02151E #063D57 #0A6591

Accessibility & contrast

On white

18.61
#02151E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02151E
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02151E#FFFFFF#000000##FFFFFF
##02151E1.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10151E
Deuteranopia (green-blind)
#0C121E
Tritanopia (blue-blind)
#001818
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #02151e;
/* rgb */ color: rgb(2, 21, 30);
/* oklch */ color: oklch(18.4% 0.033 229.5);
Tailwind
colors: {
  custom: {
    50: '#475259',
    500: '#02151e',
    950: '#000000',
  },
}
SCSS
$custom: #02151e;
$custom-light: #475259;
$custom-dark: #000000;
JSON
{
  "hex": "#02151e",
  "rgb": {
    "r": 2,
    "g": 21,
    "b": 30
  },
  "hsl": {
    "h": 199.286,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.18403,
    "c": 0.03254,
    "h": 229.5
  },
  "luminance": 0.00643
}

Semantic roles & 50–950 ramp

primary
#02151E
secondary
#643018
accent
#6E2AFE
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #02151E

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

Preview Lab → · Contrast checker → · Palette generator →

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