#162A4B#162A4B

#162A4B is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.066 H 259.9°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#162A4B
RGBrgb(22, 42, 75)
HSLhsl(217, 55%, 19%)
HSVhsv(217, 71%, 29%)
CMYKcmyk(70.7%, 44%, 0%, 70.6%)
CIE-LABlab(17.15, 4.37, -22.88)
CIE-LCHlch(17.15, 23.29, 280.81°)
OKLaboklab(28.71% -0.0116 -0.0651)
OKLCHoklch(28.71% 0.066 259.9)
XYZxyz(2.4284, 2.3343, 6.9778)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A4B #4B3716
analogous
#16454B #162A4B #1D164B
triadic
#162A4B #4B162A #2A4B16
tetradic
#162A4B #4B1645 #4B3716 #164B1D
square
#162A4B #4B1645 #4B3716 #164B1D
split-complementary
#162A4B #4B1D16 #454B16
monochromatic
#070D18 #08101C #162A4B #24457A #325FAA

Accessibility & contrast

On white

14.31
#162A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#162A4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162A4B
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A4B#FFFFFF#000000##FFFFFF
##162A4B1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2D4C
Deuteranopia (green-blind)
#14284A
Tritanopia (blue-blind)
#003236
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #162a4b;
/* rgb */ color: rgb(22, 42, 75);
/* oklch */ color: oklch(28.7% 0.066 259.9);
Tailwind
colors: {
  custom: {
    50: '#5a637d',
    500: '#162a4b',
    950: '#000000',
  },
}
SCSS
$custom: #162a4b;
$custom-light: #5a637d;
$custom-dark: #000000;
JSON
{
  "hex": "#162a4b",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 75
  },
  "hsl": {
    "h": 217.358,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28709,
    "c": 0.06612,
    "h": 259.9
  },
  "luminance": 0.02335
}

Semantic roles & 50–950 ramp

primary
#162A4B
secondary
#83673A
accent
#A64ADE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #162A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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