#162D59#162D59

#162D59 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.084 H 261.9°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#162D59
RGBrgb(22, 45, 89)
HSLhsl(219, 60%, 22%)
HSVhsv(219, 75%, 35%)
CMYKcmyk(75.3%, 49.4%, 0%, 65.1%)
CIE-LABlab(19.09, 8.01, -29.19)
CIE-LCHlch(19.09, 30.27, 285.34°)
OKLaboklab(30.51% -0.0119 -0.0836)
OKLCHoklch(30.51% 0.084 261.9)
XYZxyz(3.0718, 2.7683, 9.8217)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D59 #594216
analogous
#164F59 #162D59 #211659
triadic
#162D59 #59162D #2D5916
tetradic
#162D59 #59164F #594216 #165921
square
#162D59 #59164F #594216 #165921
split-complementary
#162D59 #592116 #4F5916
monochromatic
#060C19 #0A1428 #162D59 #22468A #2E5FBB

Accessibility & contrast

On white

13.52
#162D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#162D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D59
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D59#FFFFFF#000000##FFFFFF
##162D591.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17325B
Deuteranopia (green-blind)
#092B58
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162d59;
/* rgb */ color: rgb(22, 45, 89);
/* oklch */ color: oklch(30.5% 0.084 261.9);
Tailwind
colors: {
  custom: {
    50: '#5d6588',
    500: '#162d59',
    950: '#000000',
  },
}
SCSS
$custom: #162d59;
$custom-light: #5d6588;
$custom-dark: #000000;
JSON
{
  "hex": "#162d59",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 89
  },
  "hsl": {
    "h": 219.403,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30514,
    "c": 0.08443,
    "h": 261.9
  },
  "luminance": 0.02769
}

Semantic roles & 50–950 ramp

primary
#162D59
secondary
#90733B
accent
#AD44E4
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #162D59

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

Preview Lab → · Contrast checker → · Palette generator →

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