#162B59#162B59

#162B59 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.087 H 263.6°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#162B59
RGBrgb(22, 43, 89)
HSLhsl(221, 60%, 22%)
HSVhsv(221, 75%, 35%)
CMYKcmyk(75.3%, 51.7%, 0%, 65.1%)
CIE-LABlab(18.45, 9.48, -30.22)
CIE-LCHlch(18.45, 31.68, 287.41°)
OKLaboklab(30.02% -0.0098 -0.0867)
OKLCHoklch(30.02% 0.087 263.6)
XYZxyz(2.9973, 2.6193, 9.7969)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B59 #594416
analogous
#164D59 #162B59 #231659
triadic
#162B59 #59162B #2B5916
tetradic
#162B59 #59164D #594416 #165923
square
#162B59 #59164D #594416 #165923
split-complementary
#162B59 #592316 #4D5916
monochromatic
#060C19 #0A1328 #162B59 #22438A #2E5ABB

Accessibility & contrast

On white

13.78
#162B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#162B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B59
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B59#FFFFFF#000000##FFFFFF
##162B591.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12305B
Deuteranopia (green-blind)
#032A58
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162b59;
/* rgb */ color: rgb(22, 43, 89);
/* oklch */ color: oklch(30.0% 0.087 263.6);
Tailwind
colors: {
  custom: {
    50: '#5d6388',
    500: '#162b59',
    950: '#000000',
  },
}
SCSS
$custom: #162b59;
$custom-light: #5d6388;
$custom-dark: #000000;
JSON
{
  "hex": "#162b59",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 221.194,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30022,
    "c": 0.08721,
    "h": 263.6
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #162B59

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

Preview Lab → · Contrast checker → · Palette generator →

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