#162B56#162B56

#162B56 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.082 H 262.8°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#162B56
RGBrgb(22, 43, 86)
HSLhsl(220, 59%, 21%)
HSVhsv(220, 74%, 34%)
CMYKcmyk(74.4%, 50%, 0%, 66.3%)
CIE-LABlab(18.23, 8.22, -28.57)
CIE-LCHlch(18.23, 29.73, 286.05°)
OKLaboklab(29.79% -0.0103 -0.0818)
OKLCHoklch(29.79% 0.082 262.8)
XYZxyz(2.8739, 2.5699, 9.1469)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B56 #564116
analogous
#164B56 #162B56 #211656
triadic
#162B56 #56162B #2B5616
tetradic
#162B56 #56164B #564116 #165621
square
#162B56 #56164B #564116 #165621
split-complementary
#162B56 #562116 #4B5616
monochromatic
#060C18 #0A1325 #162B56 #224387 #2F5CB7

Accessibility & contrast

On white

13.87
#162B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#162B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B56
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B56#FFFFFF#000000##FFFFFF
##162B561.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153058
Deuteranopia (green-blind)
#082A55
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162b56;
/* rgb */ color: rgb(22, 43, 86);
/* oklch */ color: oklch(29.8% 0.082 262.8);
Tailwind
colors: {
  custom: {
    50: '#5c6386',
    500: '#162b56',
    950: '#000000',
  },
}
SCSS
$custom: #162b56;
$custom-light: #5c6386;
$custom-dark: #000000;
JSON
{
  "hex": "#162b56",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 86
  },
  "hsl": {
    "h": 220.313,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29785,
    "c": 0.08244,
    "h": 262.8
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#162B56
secondary
#8D723A
accent
#AF45E2
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #162B56

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

Preview Lab → · Contrast checker → · Palette generator →

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