#162B4B#162B4B

#162B4B is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.065 H 258.6°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#162B4B
RGBrgb(22, 43, 75)
HSLhsl(216, 55%, 19%)
HSVhsv(216, 71%, 29%)
CMYKcmyk(70.7%, 42.7%, 0%, 70.6%)
CIE-LABlab(17.49, 3.64, -22.34)
CIE-LCHlch(17.49, 22.64, 279.25°)
OKLaboklab(28.97% -0.0128 -0.0635)
OKLCHoklch(28.97% 0.065 258.6)
XYZxyz(2.4643, 2.4061, 6.9898)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B4B #4B3616
analogous
#16464B #162B4B #1C164B
triadic
#162B4B #4B162B #2B4B16
tetradic
#162B4B #4B1646 #4B3616 #164B1C
square
#162B4B #4B1646 #4B3616 #164B1C
split-complementary
#162B4B #4B1C16 #464B16
monochromatic
#070E18 #08101C #162B4B #24467A #3261AA

Accessibility & contrast

On white

14.18
#162B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162B4B
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B4B#FFFFFF#000000##FFFFFF
##162B4B1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2E4C
Deuteranopia (green-blind)
#15294A
Tritanopia (blue-blind)
#003237
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162b4b;
/* rgb */ color: rgb(22, 43, 75);
/* oklch */ color: oklch(29.0% 0.065 258.6);
Tailwind
colors: {
  custom: {
    50: '#5a637d',
    500: '#162b4b',
    950: '#000000',
  },
}
SCSS
$custom: #162b4b;
$custom-light: #5a637d;
$custom-dark: #000000;
JSON
{
  "hex": "#162b4b",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 75
  },
  "hsl": {
    "h": 216.226,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2897,
    "c": 0.06479,
    "h": 258.6
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#162B4B
secondary
#83663A
accent
#A34ADE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #162B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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