#161752#161752

#161752 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.105 H 275.0°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#161752
RGBrgb(22, 23, 82)
HSLhsl(239, 58%, 20%)
HSVhsv(239, 73%, 32%)
CMYKcmyk(73.2%, 72%, 0%, 67.8%)
CIE-LABlab(11.91, 21.33, -36.12)
CIE-LCHlch(11.91, 41.95, 300.56°)
OKLaboklab(24.94% 0.0091 -0.1043)
OKLCHoklch(24.94% 0.105 275)
XYZxyz(2.1598, 1.3924, 8.1359)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161752 #525116
analogous
#163552 #161752 #331652
triadic
#161752 #521617 #175216
tetradic
#161752 #521635 #525116 #165233
square
#161752 #521635 #525116 #165233
split-complementary
#161752 #523316 #355216
monochromatic
#060718 #090922 #161752 #232582 #3032B3

Accessibility & contrast

On white

16.42
#161752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#161752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161752
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161752#FFFFFF#000000##FFFFFF
##1617521.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#001D51
Tritanopia (blue-blind)
#002632
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #161752;
/* rgb */ color: rgb(22, 23, 82);
/* oklch */ color: oklch(24.9% 0.105 275.0);
Tailwind
colors: {
  custom: {
    50: '#5d5483',
    500: '#161752',
    950: '#000000',
  },
}
SCSS
$custom: #161752;
$custom-light: #5d5483;
$custom-dark: #000000;
JSON
{
  "hex": "#161752",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 239,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24937,
    "c": 0.10467,
    "h": 275
  },
  "luminance": 0.01393
}

Semantic roles & 50–950 ramp

primary
#161752
secondary
#89883A
accent
#DE47E1
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #161752

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

Preview Lab → · Contrast checker → · Palette generator →

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