#162D5E#162D5E

#162D5E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.092 H 263.2°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#162D5E
RGBrgb(22, 45, 94)
HSLhsl(221, 62%, 23%)
HSVhsv(221, 77%, 37%)
CMYKcmyk(76.6%, 52.1%, 0%, 63.1%)
CIE-LABlab(19.45, 10.11, -31.92)
CIE-LCHlch(19.45, 33.48, 287.58°)
OKLaboklab(30.91% -0.011 -0.0916)
OKLCHoklch(30.91% 0.092 263.2)
XYZxyz(3.2889, 2.8552, 10.9653)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D5E #5E4716
analogous
#16515E #162D5E #23165E
triadic
#162D5E #5E162D #2D5E16
tetradic
#162D5E #5E1651 #5E4716 #165E23
square
#162D5E #5E1651 #5E4716 #165E23
split-complementary
#162D5E #5E2316 #515E16
monochromatic
#060C19 #0A152C #162D5E #224590 #2D5CC1

Accessibility & contrast

On white

13.37
#162D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162D5E
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D5E#FFFFFF#000000##FFFFFF
##162D5E1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123360
Deuteranopia (green-blind)
#002C5D
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162d5e;
/* rgb */ color: rgb(22, 45, 94);
/* oklch */ color: oklch(30.9% 0.092 263.2);
Tailwind
colors: {
  custom: {
    50: '#5e658c',
    500: '#162d5e',
    950: '#000000',
  },
}
SCSS
$custom: #162d5e;
$custom-light: #5e658c;
$custom-dark: #000000;
JSON
{
  "hex": "#162d5e",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 220.833,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30909,
    "c": 0.09227,
    "h": 263.2
  },
  "luminance": 0.02855
}

Semantic roles & 50–950 ramp

primary
#162D5E
secondary
#95783B
accent
#B143E5
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #162D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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