#162B42#162B42

#162B42 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.4% C 0.051 H 252.0°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#162B42
RGBrgb(22, 43, 66)
HSLhsl(211, 50%, 17%)
HSVhsv(211, 67%, 26%)
CMYKcmyk(66.7%, 34.8%, 0%, 74.1%)
CIE-LABlab(16.95, -0.00, -17.04)
CIE-LCHlch(16.95, 17.04, 269.99°)
OKLaboklab(28.37% -0.0156 -0.048)
OKLCHoklch(28.37% 0.051 252)
XYZxyz(2.1778, 2.2915, 5.4807)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B42 #422D16
analogous
#164142 #162B42 #171642
triadic
#162B42 #42162B #2B4216
tetradic
#162B42 #421641 #422D16 #164217
square
#162B42 #421641 #422D16 #164217
split-complementary
#162B42 #421716 #414216
monochromatic
#080F17 #080F17 #162B42 #254970 #35679E

Accessibility & contrast

On white

14.40
#162B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#162B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B42
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B42#FFFFFF#000000##FFFFFF
##162B421.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212C43
Deuteranopia (green-blind)
#1C2842
Tritanopia (blue-blind)
#003033
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #162b42;
/* rgb */ color: rgb(22, 43, 66);
/* oklch */ color: oklch(28.4% 0.051 252.0);
Tailwind
colors: {
  custom: {
    50: '#586476',
    500: '#162b42',
    950: '#000000',
  },
}
SCSS
$custom: #162b42;
$custom-light: #586476;
$custom-dark: #000000;
JSON
{
  "hex": "#162b42",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 66
  },
  "hsl": {
    "h": 211.364,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28371,
    "c": 0.05051,
    "h": 252
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#162B42
secondary
#795B3A
accent
#974EDA
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #162B42

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

Preview Lab → · Contrast checker → · Palette generator →

#162B42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva