#02162D#02162D

#02162D is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 19.8% C 0.054 H 252.2°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#02162D
RGBrgb(2, 22, 45)
HSLhsl(212, 91%, 9%)
HSVhsv(212, 96%, 18%)
CMYKcmyk(95.6%, 51.1%, 0%, 82.4%)
CIE-LABlab(7.01, 1.96, -17.85)
CIE-LCHlch(7.01, 17.96, 276.25°)
OKLaboklab(19.83% -0.0164 -0.0513)
OKLCHoklch(19.83% 0.054 252.2)
XYZxyz(0.7854, 0.7761, 2.5905)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02162D #2D1902
analogous
#022C2D #02162D #04022D
triadic
#02162D #2D0216 #162D02
tetradic
#02162D #2D022C #2D1902 #022D04
square
#02162D #2D022C #2D1902 #022D04
split-complementary
#02162D #2D0402 #2C2D02
monochromatic
#010E1D #010E1D #02162D #053368 #074FA2

Accessibility & contrast

On white

18.18
#02162D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#02162D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02162D
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02162D#FFFFFF#000000##FFFFFF
##02162D1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A182E
Deuteranopia (green-blind)
#04142D
Tritanopia (blue-blind)
#001C1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #02162d;
/* rgb */ color: rgb(2, 22, 45);
/* oklch */ color: oklch(19.8% 0.054 252.2);
Tailwind
colors: {
  custom: {
    50: '#495266',
    500: '#02162d',
    950: '#000000',
  },
}
SCSS
$custom: #02162d;
$custom-light: #495266;
$custom-dark: #000000;
JSON
{
  "hex": "#02162d",
  "rgb": {
    "r": 2,
    "g": 22,
    "b": 45
  },
  "hsl": {
    "h": 212.093,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19833,
    "c": 0.05391,
    "h": 252.2
  },
  "luminance": 0.00776
}

Semantic roles & 50–950 ramp

primary
#02162D
secondary
#724919
accent
#9B29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #02162D

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

Preview Lab → · Contrast checker → · Palette generator →

#02162D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva