#162C52#162C52

#162C52 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.7% C 0.075 H 260.6°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#162C52
RGBrgb(22, 44, 82)
HSLhsl(218, 58%, 20%)
HSVhsv(218, 73%, 32%)
CMYKcmyk(73.2%, 46.3%, 0%, 67.8%)
CIE-LABlab(18.28, 5.81, -25.81)
CIE-LCHlch(18.28, 26.46, 282.69°)
OKLaboklab(29.73% -0.0122 -0.0737)
OKLCHoklch(29.73% 0.075 260.6)
XYZxyz(2.7540, 2.5809, 8.3340)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C52 #523C16
analogous
#164A52 #162C52 #1E1652
triadic
#162C52 #52162C #2C5216
tetradic
#162C52 #52164A #523C16 #16521E
square
#162C52 #52164A #523C16 #16521E
split-complementary
#162C52 #521E16 #4A5216
monochromatic
#060D18 #091222 #162C52 #234682 #3060B3

Accessibility & contrast

On white

13.85
#162C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#162C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C52
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C52#FFFFFF#000000##FFFFFF
##162C521.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3053
Deuteranopia (green-blind)
#102A51
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162c52;
/* rgb */ color: rgb(22, 44, 82);
/* oklch */ color: oklch(29.7% 0.075 260.6);
Tailwind
colors: {
  custom: {
    50: '#5b6483',
    500: '#162c52',
    950: '#000000',
  },
}
SCSS
$custom: #162c52;
$custom-light: #5b6483;
$custom-dark: #000000;
JSON
{
  "hex": "#162c52",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 82
  },
  "hsl": {
    "h": 218,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29732,
    "c": 0.07468,
    "h": 260.6
  },
  "luminance": 0.02581
}

Semantic roles & 50–950 ramp

primary
#162C52
secondary
#896C3A
accent
#A847E1
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #162C52

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

Preview Lab → · Contrast checker → · Palette generator →

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