#02152F#02152F

#02152F is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 19.7% C 0.059 H 255.3°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#02152F
RGBrgb(2, 21, 47)
HSLhsl(215, 92%, 10%)
HSVhsv(215, 96%, 18%)
CMYKcmyk(95.7%, 55.3%, 0%, 81.6%)
CIE-LABlab(6.81, 3.65, -19.64)
CIE-LCHlch(6.81, 19.98, 280.52°)
OKLaboklab(19.72% -0.0149 -0.0567)
OKLCHoklch(19.72% 0.059 255.3)
XYZxyz(0.8061, 0.7544, 2.7919)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02152F #2F1C02
analogous
#022C2F #02152F #06022F
triadic
#02152F #2F0215 #152F02
tetradic
#02152F #2F022C #2F1C02 #022F06
square
#02152F #2F022C #2F1C02 #022F06
split-complementary
#02152F #2F0602 #2C2F02
monochromatic
#010D1D #010D1D #02152F #042F6A #0749A4

Accessibility & contrast

On white

18.25
#02152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02152F
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02152F#FFFFFF#000000##FFFFFF
##02152F1.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #02152f;
/* rgb */ color: rgb(2, 21, 47);
/* oklch */ color: oklch(19.7% 0.059 255.3);
Tailwind
colors: {
  custom: {
    50: '#4a5167',
    500: '#02152f',
    950: '#000000',
  },
}
SCSS
$custom: #02152f;
$custom-light: #4a5167;
$custom-dark: #000000;
JSON
{
  "hex": "#02152f",
  "rgb": {
    "r": 2,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 214.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19716,
    "c": 0.05867,
    "h": 255.3
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#02152F
secondary
#744D19
accent
#A529FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #02152F

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

Preview Lab → · Contrast checker → · Palette generator →

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