#162B5A#162B5A

#162B5A is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.089 H 263.8°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#162B5A
RGBrgb(22, 43, 90)
HSLhsl(221, 61%, 22%)
HSVhsv(221, 76%, 35%)
CMYKcmyk(75.6%, 52.2%, 0%, 64.7%)
CIE-LABlab(18.52, 9.90, -30.77)
CIE-LCHlch(18.52, 32.32, 287.83°)
OKLaboklab(30.1% -0.0096 -0.0883)
OKLCHoklch(30.1% 0.089 263.8)
XYZxyz(3.0396, 2.6362, 10.0195)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B5A #5A4516
analogous
#164D5A #162B5A #23165A
triadic
#162B5A #5A162B #2B5A16
tetradic
#162B5A #5A164D #5A4516 #165A23
square
#162B5A #5A164D #5A4516 #165A23
split-complementary
#162B5A #5A2316 #4D5A16
monochromatic
#060C19 #0A1429 #162B5A #22428B #2E5ABC

Accessibility & contrast

On white

13.75
#162B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#162B5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B5A
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B5A#FFFFFF#000000##FFFFFF
##162B5A1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11305C
Deuteranopia (green-blind)
#012A59
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162b5a;
/* rgb */ color: rgb(22, 43, 90);
/* oklch */ color: oklch(30.1% 0.089 263.8);
Tailwind
colors: {
  custom: {
    50: '#5d6389',
    500: '#162b5a',
    950: '#000000',
  },
}
SCSS
$custom: #162b5a;
$custom-light: #5d6389;
$custom-dark: #000000;
JSON
{
  "hex": "#162b5a",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 90
  },
  "hsl": {
    "h": 221.471,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30102,
    "c": 0.08878,
    "h": 263.8
  },
  "luminance": 0.02637
}

Semantic roles & 50–950 ramp

primary
#162B5A
secondary
#91763B
accent
#B244E4
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #162B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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