#02152B#02152B

#02152B is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 19.4% C 0.052 H 252.1°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#02152B
RGBrgb(2, 21, 43)
HSLhsl(212, 91%, 9%)
HSVhsv(212, 95%, 17%)
CMYKcmyk(95.3%, 51.2%, 0%, 83.1%)
CIE-LABlab(6.54, 1.69, -17.11)
CIE-LCHlch(6.54, 17.20, 275.65°)
OKLaboklab(19.37% -0.016 -0.0495)
OKLCHoklch(19.37% 0.052 252.1)
XYZxyz(0.7291, 0.7236, 2.3863)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02152B #2B1802
analogous
#022A2B #02152B #04022B
triadic
#02152B #2B0215 #152B02
tetradic
#02152B #2B022A #2B1802 #022B04
square
#02152B #2B022A #2B1802 #022B04
split-complementary
#02152B #2B0402 #2A2B02
monochromatic
#010E1D #010E1D #02152B #053265 #074EA0

Accessibility & contrast

On white

18.34
#02152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#02152B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02152B
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02152B#FFFFFF#000000##FFFFFF
##02152B1.0018.341.1418.34
#FFFFFF18.341.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172C
Deuteranopia (green-blind)
#04132B
Tritanopia (blue-blind)
#001A1D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #02152b;
/* rgb */ color: rgb(2, 21, 43);
/* oklch */ color: oklch(19.4% 0.052 252.1);
Tailwind
colors: {
  custom: {
    50: '#495264',
    500: '#02152b',
    950: '#000000',
  },
}
SCSS
$custom: #02152b;
$custom-light: #495264;
$custom-dark: #000000;
JSON
{
  "hex": "#02152b",
  "rgb": {
    "r": 2,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 212.195,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.1937,
    "c": 0.05202,
    "h": 252.1
  },
  "luminance": 0.00724
}

Semantic roles & 50–950 ramp

primary
#02152B
secondary
#704819
accent
#9C29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #02152B

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

Preview Lab → · Contrast checker → · Palette generator →

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