#162C57#162C57

#162C57 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.1% C 0.083 H 262.2°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#162C57
RGBrgb(22, 44, 87)
HSLhsl(220, 60%, 21%)
HSVhsv(220, 75%, 34%)
CMYKcmyk(74.7%, 49.4%, 0%, 65.9%)
CIE-LABlab(18.63, 7.90, -28.61)
CIE-LCHlch(18.63, 29.68, 285.44°)
OKLaboklab(30.11% -0.0112 -0.0819)
OKLCHoklch(30.11% 0.083 262.2)
XYZxyz(2.9512, 2.6598, 9.3728)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C57 #574116
analogous
#164D57 #162C57 #211657
triadic
#162C57 #57162C #2C5716
tetradic
#162C57 #57164D #574116 #165721
square
#162C57 #57164D #574116 #165721
split-complementary
#162C57 #572116 #4D5716
monochromatic
#060C18 #0A1326 #162C57 #224588 #2F5DB9

Accessibility & contrast

On white

13.71
#162C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162C57
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C57#FFFFFF#000000##FFFFFF
##162C571.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163159
Deuteranopia (green-blind)
#0A2B56
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162c57;
/* rgb */ color: rgb(22, 44, 87);
/* oklch */ color: oklch(30.1% 0.083 262.2);
Tailwind
colors: {
  custom: {
    50: '#5c6487',
    500: '#162c57',
    950: '#000000',
  },
}
SCSS
$custom: #162c57;
$custom-light: #5c6487;
$custom-dark: #000000;
JSON
{
  "hex": "#162c57",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 87
  },
  "hsl": {
    "h": 219.692,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30111,
    "c": 0.08264,
    "h": 262.2
  },
  "luminance": 0.0266
}

Semantic roles & 50–950 ramp

primary
#162C57
secondary
#8E723A
accent
#AD45E3
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #162C57

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

Preview Lab → · Contrast checker → · Palette generator →

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