#162352#162352

#162352 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.5% C 0.088 H 268.5°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#162352
RGBrgb(22, 35, 82)
HSLhsl(227, 58%, 20%)
HSVhsv(227, 73%, 32%)
CMYKcmyk(73.2%, 57.3%, 0%, 67.8%)
CIE-LABlab(15.39, 12.48, -30.45)
CIE-LCHlch(15.39, 32.91, 292.29°)
OKLaboklab(27.52% -0.0024 -0.0875)
OKLCHoklch(27.52% 0.088 268.5)
XYZxyz(2.4544, 1.9816, 8.2341)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162352 #524516
analogous
#164152 #162352 #271652
triadic
#162352 #521623 #235216
tetradic
#162352 #521641 #524516 #165227
square
#162352 #521641 #524516 #165227
split-complementary
#162352 #522716 #415216
monochromatic
#060A18 #090E22 #162352 #233882 #304CB3

Accessibility & contrast

On white

15.04
#162352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#162352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162352
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162352#FFFFFF#000000##FFFFFF
##1623521.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052954
Deuteranopia (green-blind)
#002451
Tritanopia (blue-blind)
#002E36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #162352;
/* rgb */ color: rgb(22, 35, 82);
/* oklch */ color: oklch(27.5% 0.088 268.5);
Tailwind
colors: {
  custom: {
    50: '#5c5d83',
    500: '#162352',
    950: '#000000',
  },
}
SCSS
$custom: #162352;
$custom-light: #5c5d83;
$custom-dark: #000000;
JSON
{
  "hex": "#162352",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 82
  },
  "hsl": {
    "h": 227,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27523,
    "c": 0.08751,
    "h": 268.5
  },
  "luminance": 0.01982
}

Semantic roles & 50–950 ramp

primary
#162352
secondary
#89783A
accent
#C047E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #162352

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

Preview Lab → · Contrast checker → · Palette generator →

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