#162553#162553

#162553 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.086 H 267.1°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#162553
RGBrgb(22, 37, 83)
HSLhsl(225, 58%, 21%)
HSVhsv(225, 73%, 33%)
CMYKcmyk(73.5%, 55.4%, 0%, 67.5%)
CIE-LABlab(16.09, 11.41, -29.99)
CIE-LCHlch(16.09, 32.09, 290.82°)
OKLaboklab(28.08% -0.0043 -0.0861)
OKLCHoklch(28.08% 0.086 267.1)
XYZxyz(2.5532, 2.1180, 8.4562)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162553 #534416
analogous
#164353 #162553 #251653
triadic
#162553 #531625 #255316
tetradic
#162553 #531643 #534416 #165325
square
#162553 #531643 #534416 #165325
split-complementary
#162553 #532516 #435316
monochromatic
#060B18 #090F23 #162553 #233B83 #3050B4

Accessibility & contrast

On white

14.75
#162553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162553
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162553#FFFFFF#000000##FFFFFF
##1625531.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2B55
Deuteranopia (green-blind)
#002552
Tritanopia (blue-blind)
#003038
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #162553;
/* rgb */ color: rgb(22, 37, 83);
/* oklch */ color: oklch(28.1% 0.086 267.1);
Tailwind
colors: {
  custom: {
    50: '#5c5f84',
    500: '#162553',
    950: '#000000',
  },
}
SCSS
$custom: #162553;
$custom-light: #5c5f84;
$custom-dark: #000000;
JSON
{
  "hex": "#162553",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 83
  },
  "hsl": {
    "h": 225.246,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28081,
    "c": 0.0862,
    "h": 267.1
  },
  "luminance": 0.02118
}

Semantic roles & 50–950 ramp

primary
#162553
secondary
#8A773A
accent
#BB46E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #162553

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

Preview Lab → · Contrast checker → · Palette generator →

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