#162B58#162B58

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

Color values

HEX#162B58
RGBrgb(22, 43, 88)
HSLhsl(221, 60%, 22%)
HSVhsv(221, 75%, 35%)
CMYKcmyk(75%, 51.1%, 0%, 65.5%)
CIE-LABlab(18.38, 9.06, -29.68)
CIE-LCHlch(18.38, 31.03, 286.97°)
OKLaboklab(29.94% -0.0099 -0.085)
OKLCHoklch(29.94% 0.086 263.3)
XYZxyz(2.9556, 2.6026, 9.5772)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B58 #584316
analogous
#164C58 #162B58 #221658
triadic
#162B58 #58162B #2B5816
tetradic
#162B58 #58164C #584316 #165822
square
#162B58 #58164C #584316 #165822
split-complementary
#162B58 #582216 #4C5816
monochromatic
#060C18 #0A1327 #162B58 #224389 #2E5BBA

Accessibility & contrast

On white

13.81
#162B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162B58
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B58#FFFFFF#000000##FFFFFF
##162B581.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13305A
Deuteranopia (green-blind)
#052A57
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162b58;
/* rgb */ color: rgb(22, 43, 88);
/* oklch */ color: oklch(29.9% 0.086 263.3);
Tailwind
colors: {
  custom: {
    50: '#5d6387',
    500: '#162b58',
    950: '#000000',
  },
}
SCSS
$custom: #162b58;
$custom-light: #5d6387;
$custom-dark: #000000;
JSON
{
  "hex": "#162b58",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 88
  },
  "hsl": {
    "h": 220.909,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29942,
    "c": 0.08562,
    "h": 263.3
  },
  "luminance": 0.02603
}

Semantic roles & 50–950 ramp

primary
#162B58
secondary
#8F743B
accent
#B145E3
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#05050B
muted
#79797C

Preview Lab

Preview with #162B58

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

Preview Lab → · Contrast checker → · Palette generator →

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