#162B4A#162B4A

#162B4A is a dark, moderate blue. Relative luminance 0.024; OKLCH L 28.9% C 0.063 H 258.0°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#162B4A
RGBrgb(22, 43, 74)
HSLhsl(216, 54%, 19%)
HSVhsv(216, 70%, 29%)
CMYKcmyk(70.3%, 41.9%, 0%, 71%)
CIE-LABlab(17.43, 3.23, -21.76)
CIE-LCHlch(17.43, 22.00, 278.44°)
OKLaboklab(28.9% -0.0131 -0.0618)
OKLCHoklch(28.9% 0.063 258)
XYZxyz(2.4303, 2.3925, 6.8110)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B4A #4A3516
analogous
#16454A #162B4A #1B164A
triadic
#162B4A #4A162B #2B4A16
tetradic
#162B4A #4A1645 #4A3516 #164A1B
square
#162B4A #4A1645 #4A3516 #164A1B
split-complementary
#162B4A #4A1B16 #454A16
monochromatic
#070E18 #08101B #162B4A #244679 #3262A8

Accessibility & contrast

On white

14.20
#162B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#162B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B4A
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B4A#FFFFFF#000000##FFFFFF
##162B4A1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2D4B
Deuteranopia (green-blind)
#162949
Tritanopia (blue-blind)
#003237
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162b4a;
/* rgb */ color: rgb(22, 43, 74);
/* oklch */ color: oklch(28.9% 0.063 258.0);
Tailwind
colors: {
  custom: {
    50: '#59647c',
    500: '#162b4a',
    950: '#000000',
  },
}
SCSS
$custom: #162b4a;
$custom-light: #59647c;
$custom-dark: #000000;
JSON
{
  "hex": "#162b4a",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 74
  },
  "hsl": {
    "h": 215.769,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.289,
    "c": 0.06318,
    "h": 258
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#162B4A
secondary
#82653A
accent
#A24ADE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #162B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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