#162C58#162C58

#162C58 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.084 H 262.5°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#162C58
RGBrgb(22, 44, 88)
HSLhsl(220, 60%, 22%)
HSVhsv(220, 75%, 35%)
CMYKcmyk(75%, 50%, 0%, 65.5%)
CIE-LABlab(18.70, 8.32, -29.16)
CIE-LCHlch(18.70, 30.32, 285.93°)
OKLaboklab(30.19% -0.011 -0.0835)
OKLCHoklch(30.19% 0.084 262.5)
XYZxyz(2.9924, 2.6762, 9.5895)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C58 #584216
analogous
#164D58 #162C58 #211658
triadic
#162C58 #58162C #2C5816
tetradic
#162C58 #58164D #584216 #165821
square
#162C58 #58164D #584216 #165821
split-complementary
#162C58 #582116 #4D5816
monochromatic
#060C18 #0A1427 #162C58 #224489 #2E5DBA

Accessibility & contrast

On white

13.68
#162C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#162C58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C58
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C58#FFFFFF#000000##FFFFFF
##162C581.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15315A
Deuteranopia (green-blind)
#082B57
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162c58;
/* rgb */ color: rgb(22, 44, 88);
/* oklch */ color: oklch(30.2% 0.084 262.5);
Tailwind
colors: {
  custom: {
    50: '#5d6487',
    500: '#162c58',
    950: '#000000',
  },
}
SCSS
$custom: #162c58;
$custom-light: #5d6487;
$custom-dark: #000000;
JSON
{
  "hex": "#162c58",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 88
  },
  "hsl": {
    "h": 220,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30188,
    "c": 0.08423,
    "h": 262.5
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#162C58
secondary
#8F733B
accent
#AE45E3
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#05050B
muted
#79797C

Preview Lab

Preview with #162C58

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

Preview Lab → · Contrast checker → · Palette generator →

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