#162D58#162D58

#162D58 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.4% C 0.083 H 261.6°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#162D58
RGBrgb(22, 45, 88)
HSLhsl(219, 60%, 22%)
HSVhsv(219, 75%, 35%)
CMYKcmyk(75%, 48.9%, 0%, 65.5%)
CIE-LABlab(19.02, 7.59, -28.64)
CIE-LCHlch(19.02, 29.63, 284.85°)
OKLaboklab(30.44% -0.012 -0.082)
OKLCHoklch(30.44% 0.083 261.6)
XYZxyz(3.0301, 2.7516, 9.6021)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D58 #584116
analogous
#164E58 #162D58 #201658
triadic
#162D58 #58162D #2D5816
tetradic
#162D58 #58164E #584116 #165820
square
#162D58 #58164E #584116 #165820
split-complementary
#162D58 #582016 #4E5816
monochromatic
#060D18 #0A1427 #162D58 #224689 #2E5FBA

Accessibility & contrast

On white

13.54
#162D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162D58
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D58#FFFFFF#000000##FFFFFF
##162D581.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18315A
Deuteranopia (green-blind)
#0B2B57
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162d58;
/* rgb */ color: rgb(22, 45, 88);
/* oklch */ color: oklch(30.4% 0.083 261.6);
Tailwind
colors: {
  custom: {
    50: '#5d6587',
    500: '#162d58',
    950: '#000000',
  },
}
SCSS
$custom: #162d58;
$custom-light: #5d6587;
$custom-dark: #000000;
JSON
{
  "hex": "#162d58",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 88
  },
  "hsl": {
    "h": 219.091,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30437,
    "c": 0.08284,
    "h": 261.6
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#162D58
secondary
#8F723B
accent
#AC45E3
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #162D58

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

Preview Lab → · Contrast checker → · Palette generator →

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