#02162C#02162C

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

Color values

HEX#02162C
RGBrgb(2, 22, 44)
HSLhsl(211, 91%, 9%)
HSVhsv(211, 95%, 17%)
CMYKcmyk(95.5%, 50%, 0%, 82.7%)
CIE-LABlab(6.94, 1.47, -17.22)
CIE-LCHlch(6.94, 17.28, 274.89°)
OKLaboklab(19.75% -0.0167 -0.0495)
OKLCHoklch(19.75% 0.052 251.3)
XYZxyz(0.7664, 0.7685, 2.4903)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02162C #2C1802
analogous
#022B2C #02162C #03022C
triadic
#02162C #2C0216 #162C02
tetradic
#02162C #2C022B #2C1802 #022C03
square
#02162C #2C022B #2C1802 #022C03
split-complementary
#02162C #2C0302 #2B2C02
monochromatic
#010F1D #010F1D #02162C #053367 #0751A1

Accessibility & contrast

On white

18.20
#02162C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02162C
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02162C#FFFFFF#000000##FFFFFF
##02162C1.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B182D
Deuteranopia (green-blind)
#05142C
Tritanopia (blue-blind)
#001B1E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #02162c;
/* rgb */ color: rgb(2, 22, 44);
/* oklch */ color: oklch(19.8% 0.052 251.3);
Tailwind
colors: {
  custom: {
    50: '#495265',
    500: '#02162c',
    950: '#000000',
  },
}
SCSS
$custom: #02162c;
$custom-light: #495265;
$custom-dark: #000000;
JSON
{
  "hex": "#02162c",
  "rgb": {
    "r": 2,
    "g": 22,
    "b": 44
  },
  "hsl": {
    "h": 211.429,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.1975,
    "c": 0.05228,
    "h": 251.3
  },
  "luminance": 0.00769
}

Semantic roles & 50–950 ramp

primary
#02162C
secondary
#714719
accent
#9929FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #02162C

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

Preview Lab → · Contrast checker → · Palette generator →

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