#162C55#162C55

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

Color values

HEX#162C55
RGBrgb(22, 44, 85)
HSLhsl(219, 59%, 21%)
HSVhsv(219, 74%, 33%)
CMYKcmyk(74.1%, 48.2%, 0%, 66.7%)
CIE-LABlab(18.49, 7.07, -27.50)
CIE-LCHlch(18.49, 28.39, 284.41°)
OKLaboklab(29.96% -0.0116 -0.0786)
OKLCHoklch(29.96% 0.079 261.6)
XYZxyz(2.8707, 2.6275, 8.9484)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C55 #553F16
analogous
#164B55 #162C55 #1F1655
triadic
#162C55 #55162C #2C5516
tetradic
#162C55 #55164B #553F16 #16551F
square
#162C55 #55164B #553F16 #16551F
split-complementary
#162C55 #551F16 #4B5516
monochromatic
#060D18 #091324 #162C55 #234586 #2F5EB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##162C55#FFFFFF#000000##FFFFFF
##162C551.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)
#183057
Deuteranopia (green-blind)
#0D2A54
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162c55;
/* rgb */ color: rgb(22, 44, 85);
/* oklch */ color: oklch(30.0% 0.079 261.6);
Tailwind
colors: {
  custom: {
    50: '#5c6485',
    500: '#162c55',
    950: '#000000',
  },
}
SCSS
$custom: #162c55;
$custom-light: #5c6485;
$custom-dark: #000000;
JSON
{
  "hex": "#162c55",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 85
  },
  "hsl": {
    "h": 219.048,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29957,
    "c": 0.07946,
    "h": 261.6
  },
  "luminance": 0.02628
}

Semantic roles & 50–950 ramp

primary
#162C55
secondary
#8C703A
accent
#AB46E2
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #162C55

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

Preview Lab → · Contrast checker → · Palette generator →

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