#02162E#02162E

#02162E is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 19.9% C 0.056 H 253.1°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#02162E
RGBrgb(2, 22, 46)
HSLhsl(213, 92%, 9%)
HSVhsv(213, 96%, 18%)
CMYKcmyk(95.7%, 52.2%, 0%, 82%)
CIE-LABlab(7.08, 2.45, -18.48)
CIE-LCHlch(7.08, 18.64, 277.56°)
OKLaboklab(19.92% -0.0162 -0.0532)
OKLCHoklch(19.92% 0.056 253.1)
XYZxyz(0.8049, 0.7839, 2.6931)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02162E #2E1A02
analogous
#022C2E #02162E #04022E
triadic
#02162E #2E0216 #162E02
tetradic
#02162E #2E022C #2E1A02 #022E04
square
#02162E #2E022C #2E1A02 #022E04
split-complementary
#02162E #2E0402 #2C2E02
monochromatic
#010E1D #010E1D #02162E #053269 #074EA3

Accessibility & contrast

On white

18.15
#02162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02162E
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02162E#FFFFFF#000000##FFFFFF
##02162E1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A182F
Deuteranopia (green-blind)
#03142E
Tritanopia (blue-blind)
#001C1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #02162e;
/* rgb */ color: rgb(2, 22, 46);
/* oklch */ color: oklch(19.9% 0.056 253.1);
Tailwind
colors: {
  custom: {
    50: '#495267',
    500: '#02162e',
    950: '#000000',
  },
}
SCSS
$custom: #02162e;
$custom-light: #495267;
$custom-dark: #000000;
JSON
{
  "hex": "#02162e",
  "rgb": {
    "r": 2,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 212.727,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19918,
    "c": 0.05556,
    "h": 253.1
  },
  "luminance": 0.00784
}

Semantic roles & 50–950 ramp

primary
#02162E
secondary
#734A19
accent
#9E29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #02162E

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

Preview Lab → · Contrast checker → · Palette generator →

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