#162D4D#162D4D

#162D4D is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.6% C 0.065 H 257.0°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#162D4D
RGBrgb(22, 45, 77)
HSLhsl(215, 56%, 19%)
HSVhsv(215, 71%, 30%)
CMYKcmyk(71.4%, 41.6%, 0%, 69.8%)
CIE-LABlab(18.29, 3.02, -22.43)
CIE-LCHlch(18.29, 22.63, 277.66°)
OKLaboklab(29.63% -0.0147 -0.0637)
OKLCHoklch(29.63% 0.065 257)
XYZxyz(2.6083, 2.5829, 7.3808)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D4D #4D3616
analogous
#16494D #162D4D #1B164D
triadic
#162D4D #4D162D #2D4D16
tetradic
#162D4D #4D1649 #4D3616 #164D1B
square
#162D4D #4D1649 #4D3616 #164D1B
split-complementary
#162D4D #4D1B16 #494D16
monochromatic
#070E18 #08111D #162D4D #24497D #3165AC

Accessibility & contrast

On white

13.85
#162D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#162D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D4D
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D4D#FFFFFF#000000##FFFFFF
##162D4D1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2F4E
Deuteranopia (green-blind)
#172A4C
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162d4d;
/* rgb */ color: rgb(22, 45, 77);
/* oklch */ color: oklch(29.6% 0.065 257.0);
Tailwind
colors: {
  custom: {
    50: '#5a657f',
    500: '#162d4d',
    950: '#000000',
  },
}
SCSS
$custom: #162d4d;
$custom-light: #5a657f;
$custom-dark: #000000;
JSON
{
  "hex": "#162d4d",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 77
  },
  "hsl": {
    "h": 214.909,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29634,
    "c": 0.0654,
    "h": 257
  },
  "luminance": 0.02583
}

Semantic roles & 50–950 ramp

primary
#162D4D
secondary
#85653A
accent
#A049DF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #162D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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