#162E5A#162E5A

#162E5A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.8% C 0.085 H 261.4°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#162E5A
RGBrgb(22, 46, 90)
HSLhsl(219, 61%, 22%)
HSVhsv(219, 76%, 35%)
CMYKcmyk(75.6%, 48.9%, 0%, 64.7%)
CIE-LABlab(19.48, 7.70, -29.23)
CIE-LCHlch(19.48, 30.23, 284.76°)
OKLaboklab(30.84% -0.0127 -0.0837)
OKLCHoklch(30.84% 0.085 261.4)
XYZxyz(3.1527, 2.8624, 10.0572)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E5A #5A4216
analogous
#16505A #162E5A #20165A
triadic
#162E5A #5A162E #2E5A16
tetradic
#162E5A #5A1650 #5A4216 #165A20
square
#162E5A #5A1650 #5A4216 #165A20
split-complementary
#162E5A #5A2016 #505A16
monochromatic
#060D19 #0A1529 #162E5A #22478B #2E60BC

Accessibility & contrast

On white

13.35
#162E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#162E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E5A
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E5A#FFFFFF#000000##FFFFFF
##162E5A1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18335C
Deuteranopia (green-blind)
#0A2C59
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162e5a;
/* rgb */ color: rgb(22, 46, 90);
/* oklch */ color: oklch(30.8% 0.085 261.4);
Tailwind
colors: {
  custom: {
    50: '#5d6689',
    500: '#162e5a',
    950: '#000000',
  },
}
SCSS
$custom: #162e5a;
$custom-light: #5d6689;
$custom-dark: #000000;
JSON
{
  "hex": "#162e5a",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 90
  },
  "hsl": {
    "h": 218.824,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30839,
    "c": 0.08463,
    "h": 261.4
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#162E5A
secondary
#91733B
accent
#AB44E4
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #162E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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