#162D50#162D50

#162D50 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.070 H 258.6°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#162D50
RGBrgb(22, 45, 80)
HSLhsl(216, 57%, 20%)
HSVhsv(216, 73%, 31%)
CMYKcmyk(72.5%, 43.7%, 0%, 68.6%)
CIE-LABlab(18.48, 4.25, -24.15)
CIE-LCHlch(18.48, 24.52, 279.99°)
OKLaboklab(29.84% -0.0139 -0.0688)
OKLCHoklch(29.84% 0.07 258.6)
XYZxyz(2.7167, 2.6263, 7.9516)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D50 #503916
analogous
#164A50 #162D50 #1C1650
triadic
#162D50 #50162D #2D5016
tetradic
#162D50 #50164A #503916 #16501C
square
#162D50 #50164A #503916 #16501C
split-complementary
#162D50 #501C16 #4A5016
monochromatic
#070D18 #091220 #162D50 #234880 #3063B0

Accessibility & contrast

On white

13.77
#162D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#162D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D50
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D50#FFFFFF#000000##FFFFFF
##162D501.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3051
Deuteranopia (green-blind)
#142B4F
Tritanopia (blue-blind)
#00353A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162d50;
/* rgb */ color: rgb(22, 45, 80);
/* oklch */ color: oklch(29.8% 0.070 258.6);
Tailwind
colors: {
  custom: {
    50: '#5b6581',
    500: '#162d50',
    950: '#000000',
  },
}
SCSS
$custom: #162d50;
$custom-light: #5b6581;
$custom-dark: #000000;
JSON
{
  "hex": "#162d50",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 80
  },
  "hsl": {
    "h": 216.207,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.29844,
    "c": 0.07016,
    "h": 258.6
  },
  "luminance": 0.02627
}

Semantic roles & 50–950 ramp

primary
#162D50
secondary
#87693A
accent
#A448E0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #162D50

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

Preview Lab → · Contrast checker → · Palette generator →

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