#162153#162153

#162153 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.092 H 269.9°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#162153
RGBrgb(22, 33, 83)
HSLhsl(229, 58%, 21%)
HSVhsv(229, 73%, 33%)
CMYKcmyk(73.5%, 60.2%, 0%, 67.5%)
CIE-LABlab(14.86, 14.40, -31.99)
CIE-LCHlch(14.86, 35.08, 294.23°)
OKLaboklab(27.15% -0.0002 -0.092)
OKLCHoklch(27.15% 0.092 269.9)
XYZxyz(2.4355, 1.8826, 8.4170)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162153 #534816
analogous
#163F53 #162153 #291653
triadic
#162153 #531621 #215316
tetradic
#162153 #53163F #534816 #165329
square
#162153 #53163F #534816 #165329
split-complementary
#162153 #532916 #3F5316
monochromatic
#060A18 #090E23 #162153 #233483 #3047B4

Accessibility & contrast

On white

15.25
#162153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#162153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162153
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162153#FFFFFF#000000##FFFFFF
##1621531.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#002352
Tritanopia (blue-blind)
#002D36
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #162153;
/* rgb */ color: rgb(22, 33, 83);
/* oklch */ color: oklch(27.1% 0.092 269.9);
Tailwind
colors: {
  custom: {
    50: '#5c5b84',
    500: '#162153',
    950: '#000000',
  },
}
SCSS
$custom: #162153;
$custom-light: #5c5b84;
$custom-dark: #000000;
JSON
{
  "hex": "#162153",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 229.18,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27148,
    "c": 0.09204,
    "h": 269.9
  },
  "luminance": 0.01883
}

Semantic roles & 50–950 ramp

primary
#162153
secondary
#8A7C3A
accent
#C546E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #162153

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

Preview Lab → · Contrast checker → · Palette generator →

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