#162B4D#162B4D

#162B4D is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.068 H 259.6°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#162B4D
RGBrgb(22, 43, 77)
HSLhsl(217, 56%, 19%)
HSVhsv(217, 71%, 30%)
CMYKcmyk(71.4%, 44.2%, 0%, 69.8%)
CIE-LABlab(17.62, 4.46, -23.50)
CIE-LCHlch(17.62, 23.92, 280.76°)
OKLaboklab(29.11% -0.0123 -0.0669)
OKLCHoklch(29.11% 0.068 259.6)
XYZxyz(2.5338, 2.4339, 7.3560)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B4D #4D3816
analogous
#16474D #162B4D #1D164D
triadic
#162B4D #4D162B #2B4D16
tetradic
#162B4D #4D1647 #4D3816 #164D1D
square
#162B4D #4D1647 #4D3816 #164D1D
split-complementary
#162B4D #4D1D16 #474D16
monochromatic
#070D18 #08101D #162B4D #24467D #3160AC

Accessibility & contrast

On white

14.12
#162B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#162B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B4D
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B4D#FFFFFF#000000##FFFFFF
##162B4D1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2E4E
Deuteranopia (green-blind)
#14294C
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162b4d;
/* rgb */ color: rgb(22, 43, 77);
/* oklch */ color: oklch(29.1% 0.068 259.6);
Tailwind
colors: {
  custom: {
    50: '#5a637f',
    500: '#162b4d',
    950: '#000000',
  },
}
SCSS
$custom: #162b4d;
$custom-light: #5a637f;
$custom-dark: #000000;
JSON
{
  "hex": "#162b4d",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 77
  },
  "hsl": {
    "h": 217.091,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29112,
    "c": 0.06801,
    "h": 259.6
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#162B4D
secondary
#85683A
accent
#A649DF
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #162B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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