#162D5B#162D5B

#162D5B is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.088 H 262.5°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#162D5B
RGBrgb(22, 45, 91)
HSLhsl(220, 61%, 22%)
HSVhsv(220, 76%, 36%)
CMYKcmyk(75.8%, 50.5%, 0%, 64.3%)
CIE-LABlab(19.23, 8.85, -30.29)
CIE-LCHlch(19.23, 31.56, 286.29°)
OKLaboklab(30.67% -0.0115 -0.0868)
OKLCHoklch(30.67% 0.088 262.5)
XYZxyz(3.1569, 2.8023, 10.2700)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D5B #5B4416
analogous
#16505B #162D5B #22165B
triadic
#162D5B #5B162D #2D5B16
tetradic
#162D5B #5B1650 #5B4416 #165B22
square
#162D5B #5B1650 #5B4416 #165B22
split-complementary
#162D5B #5B2216 #505B16
monochromatic
#060C19 #0A152A #162D5B #22458C #2E5EBE

Accessibility & contrast

On white

13.46
#162D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#162D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D5B
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D5B#FFFFFF#000000##FFFFFF
##162D5B1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15325D
Deuteranopia (green-blind)
#062C5A
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162d5b;
/* rgb */ color: rgb(22, 45, 91);
/* oklch */ color: oklch(30.7% 0.088 262.5);
Tailwind
colors: {
  custom: {
    50: '#5d658a',
    500: '#162d5b',
    950: '#000000',
  },
}
SCSS
$custom: #162d5b;
$custom-light: #5d658a;
$custom-dark: #000000;
JSON
{
  "hex": "#162d5b",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 91
  },
  "hsl": {
    "h": 220,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3067,
    "c": 0.08758,
    "h": 262.5
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#162D5B
secondary
#92753B
accent
#AF44E4
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #162D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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