#162B57#162B57

#162B57 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.084 H 263.1°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#162B57
RGBrgb(22, 43, 87)
HSLhsl(221, 60%, 21%)
HSVhsv(221, 75%, 34%)
CMYKcmyk(74.7%, 50.6%, 0%, 65.9%)
CIE-LABlab(18.30, 8.64, -29.12)
CIE-LCHlch(18.30, 30.38, 286.51°)
OKLaboklab(29.86% -0.0101 -0.0834)
OKLCHoklch(29.86% 0.084 263.1)
XYZxyz(2.9144, 2.5862, 9.3606)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B57 #574216
analogous
#164C57 #162B57 #221657
triadic
#162B57 #57162B #2B5716
tetradic
#162B57 #57164C #574216 #165722
square
#162B57 #57164C #574216 #165722
split-complementary
#162B57 #572216 #4C5716
monochromatic
#060C18 #0A1326 #162B57 #224388 #2F5BB9

Accessibility & contrast

On white

13.84
#162B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162B57
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B57#FFFFFF#000000##FFFFFF
##162B571.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143059
Deuteranopia (green-blind)
#072A56
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162b57;
/* rgb */ color: rgb(22, 43, 87);
/* oklch */ color: oklch(29.9% 0.084 263.1);
Tailwind
colors: {
  custom: {
    50: '#5c6387',
    500: '#162b57',
    950: '#000000',
  },
}
SCSS
$custom: #162b57;
$custom-light: #5c6387;
$custom-dark: #000000;
JSON
{
  "hex": "#162b57",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 87
  },
  "hsl": {
    "h": 220.615,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29863,
    "c": 0.08403,
    "h": 263.1
  },
  "luminance": 0.02586
}

Semantic roles & 50–950 ramp

primary
#162B57
secondary
#8E733A
accent
#B045E3
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #162B57

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

Preview Lab → · Contrast checker → · Palette generator →

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