#162D56#162D56

#162D56 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.080 H 261.0°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#162D56
RGBrgb(22, 45, 86)
HSLhsl(218, 59%, 21%)
HSVhsv(218, 74%, 34%)
CMYKcmyk(74.4%, 47.7%, 0%, 66.3%)
CIE-LABlab(18.88, 6.75, -27.53)
CIE-LCHlch(18.88, 28.35, 283.78°)
OKLaboklab(30.28% -0.0125 -0.0787)
OKLCHoklch(30.28% 0.08 261)
XYZxyz(2.9484, 2.7189, 9.1717)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D56 #563F16
analogous
#164D56 #162D56 #1F1656
triadic
#162D56 #56162D #2D5616
tetradic
#162D56 #56164D #563F16 #16561F
square
#162D56 #56164D #563F16 #16561F
split-complementary
#162D56 #561F16 #4D5616
monochromatic
#060D18 #0A1325 #162D56 #224687 #2F60B7

Accessibility & contrast

On white

13.60
#162D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#162D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D56
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D56#FFFFFF#000000##FFFFFF
##162D561.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193158
Deuteranopia (green-blind)
#0E2B55
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162d56;
/* rgb */ color: rgb(22, 45, 86);
/* oklch */ color: oklch(30.3% 0.080 261.0);
Tailwind
colors: {
  custom: {
    50: '#5c6586',
    500: '#162d56',
    950: '#000000',
  },
}
SCSS
$custom: #162d56;
$custom-light: #5c6586;
$custom-dark: #000000;
JSON
{
  "hex": "#162d56",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 86
  },
  "hsl": {
    "h": 218.438,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30284,
    "c": 0.07968,
    "h": 261
  },
  "luminance": 0.02719
}

Semantic roles & 50–950 ramp

primary
#162D56
secondary
#8D703A
accent
#AA45E2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #162D56

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

Preview Lab → · Contrast checker → · Palette generator →

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