#162A5A#162A5A

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

Color values

HEX#162A5A
RGBrgb(22, 42, 90)
HSLhsl(222, 61%, 22%)
HSVhsv(222, 76%, 35%)
CMYKcmyk(75.6%, 53.3%, 0%, 64.7%)
CIE-LABlab(18.21, 10.63, -31.28)
CIE-LCHlch(18.21, 33.04, 288.78°)
OKLaboklab(29.86% -0.0086 -0.0898)
OKLCHoklch(29.86% 0.09 264.5)
XYZxyz(3.0037, 2.5644, 10.0076)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A5A #5A4616
analogous
#164C5A #162A5A #24165A
triadic
#162A5A #5A162A #2A5A16
tetradic
#162A5A #5A164C #5A4616 #165A24
square
#162A5A #5A164C #5A4616 #165A24
split-complementary
#162A5A #5A2416 #4C5A16
monochromatic
#060B19 #0A1329 #162A5A #22418B #2E58BC

Accessibility & contrast

On white

13.88
#162A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#162A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162A5A
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A5A#FFFFFF#000000##FFFFFF
##162A5A1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F305C
Deuteranopia (green-blind)
#002A59
Tritanopia (blue-blind)
#00353D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162a5a;
/* rgb */ color: rgb(22, 42, 90);
/* oklch */ color: oklch(29.9% 0.090 264.5);
Tailwind
colors: {
  custom: {
    50: '#5d6389',
    500: '#162a5a',
    950: '#000000',
  },
}
SCSS
$custom: #162a5a;
$custom-light: #5d6389;
$custom-dark: #000000;
JSON
{
  "hex": "#162a5a",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 90
  },
  "hsl": {
    "h": 222.353,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29861,
    "c": 0.09019,
    "h": 264.5
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#162A5A
secondary
#91783B
accent
#B544E4
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #162A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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