#162C4D#162C4D

#162C4D is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.067 H 258.3°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#162C4D
RGBrgb(22, 44, 77)
HSLhsl(216, 56%, 19%)
HSVhsv(216, 71%, 30%)
CMYKcmyk(71.4%, 42.9%, 0%, 69.8%)
CIE-LABlab(17.95, 3.74, -22.96)
CIE-LCHlch(17.95, 23.26, 279.24°)
OKLaboklab(29.37% -0.0135 -0.0653)
OKLCHoklch(29.37% 0.067 258.3)
XYZxyz(2.5706, 2.5075, 7.3683)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C4D #4D3716
analogous
#16484D #162C4D #1C164D
triadic
#162C4D #4D162C #2C4D16
tetradic
#162C4D #4D1648 #4D3716 #164D1C
square
#162C4D #4D1648 #4D3716 #164D1C
split-complementary
#162C4D #4D1C16 #484D16
monochromatic
#070E18 #08111D #162C4D #24477D #3162AC

Accessibility & contrast

On white

13.99
#162C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#162C4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C4D
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C4D#FFFFFF#000000##FFFFFF
##162C4D1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F4E
Deuteranopia (green-blind)
#152A4C
Tritanopia (blue-blind)
#003438
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162c4d;
/* rgb */ color: rgb(22, 44, 77);
/* oklch */ color: oklch(29.4% 0.067 258.3);
Tailwind
colors: {
  custom: {
    50: '#5a647f',
    500: '#162c4d',
    950: '#000000',
  },
}
SCSS
$custom: #162c4d;
$custom-light: #5a647f;
$custom-dark: #000000;
JSON
{
  "hex": "#162c4d",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 77
  },
  "hsl": {
    "h": 216,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29372,
    "c": 0.06669,
    "h": 258.3
  },
  "luminance": 0.02508
}

Semantic roles & 50–950 ramp

primary
#162C4D
secondary
#85673A
accent
#A349DF
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #162C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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