#162552#162552

#162552 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.0% C 0.085 H 267.0°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#162552
RGBrgb(22, 37, 82)
HSLhsl(225, 58%, 20%)
HSVhsv(225, 73%, 32%)
CMYKcmyk(73.2%, 54.9%, 0%, 67.8%)
CIE-LABlab(16.02, 10.99, -29.44)
CIE-LCHlch(16.02, 31.43, 290.46°)
OKLaboklab(28% -0.0045 -0.0845)
OKLCHoklch(28% 0.085 267)
XYZxyz(2.5149, 2.1027, 8.2543)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162552 #524316
analogous
#164352 #162552 #251652
triadic
#162552 #521625 #255216
tetradic
#162552 #521643 #524316 #165225
square
#162552 #521643 #524316 #165225
split-complementary
#162552 #522516 #435216
monochromatic
#060B18 #090F22 #162552 #233B82 #3051B3

Accessibility & contrast

On white

14.78
#162552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#162552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162552
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162552#FFFFFF#000000##FFFFFF
##1625521.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2B54
Deuteranopia (green-blind)
#002551
Tritanopia (blue-blind)
#003037
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #162552;
/* rgb */ color: rgb(22, 37, 82);
/* oklch */ color: oklch(28.0% 0.085 267.0);
Tailwind
colors: {
  custom: {
    50: '#5b5f83',
    500: '#162552',
    950: '#000000',
  },
}
SCSS
$custom: #162552;
$custom-light: #5b5f83;
$custom-dark: #000000;
JSON
{
  "hex": "#162552",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 82
  },
  "hsl": {
    "h": 225,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27998,
    "c": 0.08459,
    "h": 267
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

primary
#162552
secondary
#89763A
accent
#BA47E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #162552

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

Preview Lab → · Contrast checker → · Palette generator →

#162552 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva