#162C4B#162C4B

#162C4B is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.2% C 0.063 H 257.2°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#162C4B
RGBrgb(22, 44, 75)
HSLhsl(215, 55%, 19%)
HSVhsv(215, 71%, 29%)
CMYKcmyk(70.7%, 41.3%, 0%, 70.6%)
CIE-LABlab(17.83, 2.92, -21.81)
CIE-LCHlch(17.83, 22.00, 277.61°)
OKLaboklab(29.23% -0.014 -0.0619)
OKLCHoklch(29.23% 0.063 257.2)
XYZxyz(2.5011, 2.4797, 7.0021)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C4B #4B3516
analogous
#16474B #162C4B #1B164B
triadic
#162C4B #4B162C #2C4B16
tetradic
#162C4B #4B1647 #4B3516 #164B1B
square
#162C4B #4B1647 #4B3516 #164B1B
split-complementary
#162C4B #4B1B16 #474B16
monochromatic
#070E18 #08101C #162C4B #24487A #3264AA

Accessibility & contrast

On white

14.04
#162C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162C4B
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C4B#FFFFFF#000000##FFFFFF
##162C4B1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2E4C
Deuteranopia (green-blind)
#17294A
Tritanopia (blue-blind)
#003337
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162c4b;
/* rgb */ color: rgb(22, 44, 75);
/* oklch */ color: oklch(29.2% 0.063 257.2);
Tailwind
colors: {
  custom: {
    50: '#5a647d',
    500: '#162c4b',
    950: '#000000',
  },
}
SCSS
$custom: #162c4b;
$custom-light: #5a647d;
$custom-dark: #000000;
JSON
{
  "hex": "#162c4b",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 75
  },
  "hsl": {
    "h": 215.094,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29233,
    "c": 0.06349,
    "h": 257.2
  },
  "luminance": 0.0248
}

Semantic roles & 50–950 ramp

primary
#162C4B
secondary
#83653A
accent
#A04ADE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #162C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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