#162652#162652

#162652 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.2% C 0.083 H 266.2°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#162652
RGBrgb(22, 38, 82)
HSLhsl(224, 58%, 20%)
HSVhsv(224, 73%, 32%)
CMYKcmyk(73.2%, 53.7%, 0%, 67.8%)
CIE-LABlab(16.33, 10.24, -28.93)
CIE-LCHlch(16.33, 30.69, 289.49°)
OKLaboklab(28.24% -0.0056 -0.0829)
OKLCHoklch(28.24% 0.083 266.2)
XYZxyz(2.5465, 2.1658, 8.2648)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162652 #524216
analogous
#164452 #162652 #241652
triadic
#162652 #521626 #265216
tetradic
#162652 #521644 #524216 #165224
square
#162652 #521644 #524216 #165224
split-complementary
#162652 #522416 #445216
monochromatic
#060B18 #091022 #162652 #233C82 #3053B3

Accessibility & contrast

On white

14.65
#162652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#162652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162652
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162652#FFFFFF#000000##FFFFFF
##1626521.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162652;
/* rgb */ color: rgb(22, 38, 82);
/* oklch */ color: oklch(28.2% 0.083 266.2);
Tailwind
colors: {
  custom: {
    50: '#5b5f83',
    500: '#162652',
    950: '#000000',
  },
}
SCSS
$custom: #162652;
$custom-light: #5b5f83;
$custom-dark: #000000;
JSON
{
  "hex": "#162652",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 82
  },
  "hsl": {
    "h": 224,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28239,
    "c": 0.08314,
    "h": 266.2
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#162652
secondary
#89743A
accent
#B847E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #162652

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

Preview Lab → · Contrast checker → · Palette generator →

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