#02162F#02162F

#02162F is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.0% C 0.057 H 253.9°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#02162F
RGBrgb(2, 22, 47)
HSLhsl(213, 92%, 10%)
HSVhsv(213, 96%, 18%)
CMYKcmyk(95.7%, 53.2%, 0%, 81.6%)
CIE-LABlab(7.15, 2.95, -19.10)
CIE-LCHlch(7.15, 19.33, 278.79°)
OKLaboklab(20% -0.0159 -0.055)
OKLCHoklch(20% 0.057 253.9)
XYZxyz(0.8248, 0.7919, 2.7981)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02162F #2F1B02
analogous
#022D2F #02162F #04022F
triadic
#02162F #2F0216 #162F02
tetradic
#02162F #2F022D #2F1B02 #022F04
square
#02162F #2F022D #2F1B02 #022F04
split-complementary
#02162F #2F0402 #2D2F02
monochromatic
#010E1D #010E1D #02162F #04316A #074DA4

Accessibility & contrast

On white

18.13
#02162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02162F
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02162F#FFFFFF#000000##FFFFFF
##02162F1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091830
Deuteranopia (green-blind)
#02142F
Tritanopia (blue-blind)
#001C20
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #02162f;
/* rgb */ color: rgb(2, 22, 47);
/* oklch */ color: oklch(20.0% 0.057 253.9);
Tailwind
colors: {
  custom: {
    50: '#4a5267',
    500: '#02162f',
    950: '#000000',
  },
}
SCSS
$custom: #02162f;
$custom-light: #4a5267;
$custom-dark: #000000;
JSON
{
  "hex": "#02162f",
  "rgb": {
    "r": 2,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 213.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20003,
    "c": 0.05721,
    "h": 253.9
  },
  "luminance": 0.00792
}

Semantic roles & 50–950 ramp

primary
#02162F
secondary
#744B19
accent
#A029FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #02162F

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

Preview Lab → · Contrast checker → · Palette generator →

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