#02152E#02152E

#02152E is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 19.6% C 0.057 H 254.6°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#02152E
RGBrgb(2, 21, 46)
HSLhsl(214, 92%, 9%)
HSVhsv(214, 96%, 18%)
CMYKcmyk(95.7%, 54.3%, 0%, 82%)
CIE-LABlab(6.74, 3.14, -19.02)
CIE-LCHlch(6.74, 19.27, 279.39°)
OKLaboklab(19.63% -0.0152 -0.0549)
OKLCHoklch(19.63% 0.057 254.6)
XYZxyz(0.7862, 0.7464, 2.6869)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02152E #2E1B02
analogous
#022B2E #02152E #05022E
triadic
#02152E #2E0215 #152E02
tetradic
#02152E #2E022B #2E1B02 #022E05
square
#02152E #2E022B #2E1B02 #022E05
split-complementary
#02152E #2E0502 #2B2E02
monochromatic
#010D1D #010D1D #02152E #053069 #074BA3

Accessibility & contrast

On white

18.27
#02152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#02152E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02152E
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02152E#FFFFFF#000000##FFFFFF
##02152E1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08172F
Deuteranopia (green-blind)
#01132E
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #02152e;
/* rgb */ color: rgb(2, 21, 46);
/* oklch */ color: oklch(19.6% 0.057 254.6);
Tailwind
colors: {
  custom: {
    50: '#495167',
    500: '#02152e',
    950: '#000000',
  },
}
SCSS
$custom: #02152e;
$custom-light: #495167;
$custom-dark: #000000;
JSON
{
  "hex": "#02152e",
  "rgb": {
    "r": 2,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 214.091,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19627,
    "c": 0.05701,
    "h": 254.6
  },
  "luminance": 0.00746
}

Semantic roles & 50–950 ramp

primary
#02152E
secondary
#734C19
accent
#A329FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #02152E

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

Preview Lab → · Contrast checker → · Palette generator →

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