#162C54#162C54

#162C54 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.078 H 261.3°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#162C54
RGBrgb(22, 44, 84)
HSLhsl(219, 58%, 21%)
HSVhsv(219, 74%, 33%)
CMYKcmyk(73.8%, 47.6%, 0%, 67.1%)
CIE-LABlab(18.42, 6.65, -26.94)
CIE-LCHlch(18.42, 27.75, 283.86°)
OKLaboklab(29.88% -0.0118 -0.077)
OKLCHoklch(29.88% 0.078 261.3)
XYZxyz(2.8312, 2.6117, 8.7407)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C54 #543E16
analogous
#164B54 #162C54 #1F1654
triadic
#162C54 #54162C #2C5416
tetradic
#162C54 #54164B #543E16 #16541F
square
#162C54 #54164B #543E16 #16541F
split-complementary
#162C54 #541F16 #4B5416
monochromatic
#060D18 #091324 #162C54 #234584 #2F5FB5

Accessibility & contrast

On white

13.79
#162C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162C54
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C54#FFFFFF#000000##FFFFFF
##162C541.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193056
Deuteranopia (green-blind)
#0E2A53
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162c54;
/* rgb */ color: rgb(22, 44, 84);
/* oklch */ color: oklch(29.9% 0.078 261.3);
Tailwind
colors: {
  custom: {
    50: '#5c6484',
    500: '#162c54',
    950: '#000000',
  },
}
SCSS
$custom: #162c54;
$custom-light: #5c6484;
$custom-dark: #000000;
JSON
{
  "hex": "#162c54",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 84
  },
  "hsl": {
    "h": 218.71,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29882,
    "c": 0.07787,
    "h": 261.3
  },
  "luminance": 0.02612
}

Semantic roles & 50–950 ramp

primary
#162C54
secondary
#8B6F3A
accent
#AA46E2
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #162C54

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

Preview Lab → · Contrast checker → · Palette generator →

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