#162D5A#162D5A

#162D5A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.086 H 262.2°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#162D5A
RGBrgb(22, 45, 90)
HSLhsl(220, 61%, 22%)
HSVhsv(220, 76%, 35%)
CMYKcmyk(75.6%, 50%, 0%, 64.7%)
CIE-LABlab(19.16, 8.43, -29.74)
CIE-LCHlch(19.16, 30.92, 285.83°)
OKLaboklab(30.59% -0.0117 -0.0852)
OKLCHoklch(30.59% 0.086 262.2)
XYZxyz(3.1141, 2.7852, 10.0444)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D5A #5A4316
analogous
#164F5A #162D5A #21165A
triadic
#162D5A #5A162D #2D5A16
tetradic
#162D5A #5A164F #5A4316 #165A21
square
#162D5A #5A164F #5A4316 #165A21
split-complementary
#162D5A #5A2116 #4F5A16
monochromatic
#060C19 #0A1429 #162D5A #22468B #2E5EBC

Accessibility & contrast

On white

13.49
#162D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#162D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D5A
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D5A#FFFFFF#000000##FFFFFF
##162D5A1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16325C
Deuteranopia (green-blind)
#072C59
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162d5a;
/* rgb */ color: rgb(22, 45, 90);
/* oklch */ color: oklch(30.6% 0.086 262.2);
Tailwind
colors: {
  custom: {
    50: '#5d6589',
    500: '#162d5a',
    950: '#000000',
  },
}
SCSS
$custom: #162d5a;
$custom-light: #5d6589;
$custom-dark: #000000;
JSON
{
  "hex": "#162d5a",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 90
  },
  "hsl": {
    "h": 219.706,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30591,
    "c": 0.086,
    "h": 262.2
  },
  "luminance": 0.02786
}

Semantic roles & 50–950 ramp

primary
#162D5A
secondary
#91743B
accent
#AE44E4
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #162D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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