#162B52#162B52

#162B52 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.076 H 261.6°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#162B52
RGBrgb(22, 43, 82)
HSLhsl(219, 58%, 20%)
HSVhsv(219, 73%, 32%)
CMYKcmyk(73.2%, 47.6%, 0%, 67.8%)
CIE-LABlab(17.95, 6.54, -26.34)
CIE-LCHlch(17.95, 27.14, 283.95°)
OKLaboklab(29.48% -0.0111 -0.0752)
OKLCHoklch(29.48% 0.076 261.6)
XYZxyz(2.7172, 2.5073, 8.3218)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B52 #523D16
analogous
#164952 #162B52 #1F1652
triadic
#162B52 #52162B #2B5216
tetradic
#162B52 #521649 #523D16 #16521F
square
#162B52 #521649 #523D16 #16521F
split-complementary
#162B52 #521F16 #495216
monochromatic
#060D18 #091222 #162B52 #234482 #305EB3

Accessibility & contrast

On white

13.99
#162B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#162B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B52
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B52#FFFFFF#000000##FFFFFF
##162B521.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182F53
Deuteranopia (green-blind)
#0E2951
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162b52;
/* rgb */ color: rgb(22, 43, 82);
/* oklch */ color: oklch(29.5% 0.076 261.6);
Tailwind
colors: {
  custom: {
    50: '#5b6383',
    500: '#162b52',
    950: '#000000',
  },
}
SCSS
$custom: #162b52;
$custom-light: #5b6383;
$custom-dark: #000000;
JSON
{
  "hex": "#162b52",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 82
  },
  "hsl": {
    "h": 219,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29479,
    "c": 0.07604,
    "h": 261.6
  },
  "luminance": 0.02508
}

Semantic roles & 50–950 ramp

primary
#162B52
secondary
#896E3A
accent
#AB47E1
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #162B52

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

Preview Lab → · Contrast checker → · Palette generator →

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