#162D5C#162D5C

#162D5C is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.089 H 262.7°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#162D5C
RGBrgb(22, 45, 92)
HSLhsl(220, 61%, 22%)
HSVhsv(220, 76%, 36%)
CMYKcmyk(76.1%, 51.1%, 0%, 63.9%)
CIE-LABlab(19.31, 9.27, -30.84)
CIE-LCHlch(19.31, 32.20, 286.73°)
OKLaboklab(30.75% -0.0113 -0.0884)
OKLCHoklch(30.75% 0.089 262.7)
XYZxyz(3.2003, 2.8197, 10.4987)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D5C #5C4516
analogous
#16505C #162D5C #22165C
triadic
#162D5C #5C162D #2D5C16
tetradic
#162D5C #5C1650 #5C4516 #165C22
square
#162D5C #5C1650 #5C4516 #165C22
split-complementary
#162D5C #5C2216 #505C16
monochromatic
#060C19 #0A152B #162D5C #22458D #2E5DBF

Accessibility & contrast

On white

13.43
#162D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162D5C
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D5C#FFFFFF#000000##FFFFFF
##162D5C1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14325E
Deuteranopia (green-blind)
#042C5B
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162d5c;
/* rgb */ color: rgb(22, 45, 92);
/* oklch */ color: oklch(30.7% 0.089 262.7);
Tailwind
colors: {
  custom: {
    50: '#5e658a',
    500: '#162d5c',
    950: '#000000',
  },
}
SCSS
$custom: #162d5c;
$custom-light: #5e658a;
$custom-dark: #000000;
JSON
{
  "hex": "#162d5c",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 92
  },
  "hsl": {
    "h": 220.286,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30749,
    "c": 0.08914,
    "h": 262.7
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#162D5C
secondary
#93763B
accent
#B043E5
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #162D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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