#02162B#02162B

#02162B is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 19.7% C 0.051 H 250.3°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#02162B
RGBrgb(2, 22, 43)
HSLhsl(211, 91%, 9%)
HSVhsv(211, 95%, 17%)
CMYKcmyk(95.3%, 48.8%, 0%, 83.1%)
CIE-LABlab(6.87, 1.00, -16.58)
CIE-LCHlch(6.87, 16.61, 273.46°)
OKLaboklab(19.67% -0.0171 -0.0477)
OKLCHoklch(19.67% 0.051 250.3)
XYZxyz(0.7478, 0.7610, 2.3925)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02162B #2B1702
analogous
#022B2B #02162B #03022B
triadic
#02162B #2B0216 #162B02
tetradic
#02162B #2B022B #2B1702 #022B03
square
#02162B #2B022B #2B1702 #022B03
split-complementary
#02162B #2B0302 #2B2B02
monochromatic
#010F1D #010F1D #02162B #053465 #0752A0

Accessibility & contrast

On white

18.23
#02162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#02162B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02162B
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02162B#FFFFFF#000000##FFFFFF
##02162B1.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C172C
Deuteranopia (green-blind)
#05132B
Tritanopia (blue-blind)
#001B1E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #02162b;
/* rgb */ color: rgb(2, 22, 43);
/* oklch */ color: oklch(19.7% 0.051 250.3);
Tailwind
colors: {
  custom: {
    50: '#495264',
    500: '#02162b',
    950: '#000000',
  },
}
SCSS
$custom: #02162b;
$custom-light: #495264;
$custom-dark: #000000;
JSON
{
  "hex": "#02162b",
  "rgb": {
    "r": 2,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 210.732,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19668,
    "c": 0.05064,
    "h": 250.3
  },
  "luminance": 0.00761
}

Semantic roles & 50–950 ramp

primary
#02162B
secondary
#704519
accent
#9729FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #02162B

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

Preview Lab → · Contrast checker → · Palette generator →

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