#162C50#162C50

#162C50 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.6% C 0.071 H 259.8°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#162C50
RGBrgb(22, 44, 80)
HSLhsl(217, 57%, 20%)
HSVhsv(217, 73%, 31%)
CMYKcmyk(72.5%, 45%, 0%, 68.6%)
CIE-LABlab(18.15, 4.98, -24.68)
CIE-LCHlch(18.15, 25.18, 281.41°)
OKLaboklab(29.59% -0.0127 -0.0703)
OKLCHoklch(29.59% 0.071 259.8)
XYZxyz(2.6790, 2.5509, 7.9390)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C50 #503A16
analogous
#164950 #162C50 #1D1650
triadic
#162C50 #50162C #2C5016
tetradic
#162C50 #501649 #503A16 #16501D
square
#162C50 #501649 #503A16 #16501D
split-complementary
#162C50 #501D16 #495016
monochromatic
#070D18 #091220 #162C50 #234680 #3061B0

Accessibility & contrast

On white

13.91
#162C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162C50
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C50#FFFFFF#000000##FFFFFF
##162C501.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2F51
Deuteranopia (green-blind)
#132A4F
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162c50;
/* rgb */ color: rgb(22, 44, 80);
/* oklch */ color: oklch(29.6% 0.071 259.8);
Tailwind
colors: {
  custom: {
    50: '#5b6481',
    500: '#162c50',
    950: '#000000',
  },
}
SCSS
$custom: #162c50;
$custom-light: #5b6481;
$custom-dark: #000000;
JSON
{
  "hex": "#162c50",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 80
  },
  "hsl": {
    "h": 217.241,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.29586,
    "c": 0.07148,
    "h": 259.8
  },
  "luminance": 0.02551
}

Semantic roles & 50–950 ramp

primary
#162C50
secondary
#876A3A
accent
#A648E0
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #162C50

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

Preview Lab → · Contrast checker → · Palette generator →

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