#171652#171652

#171652 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.106 H 276.2°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#171652
RGBrgb(23, 22, 82)
HSLhsl(241, 58%, 20%)
HSVhsv(241, 73%, 32%)
CMYKcmyk(72%, 73.2%, 0%, 67.8%)
CIE-LABlab(11.72, 22.19, -36.42)
CIE-LCHlch(11.72, 42.65, 301.35°)
OKLaboklab(24.82% 0.0114 -0.1051)
OKLCHoklch(24.82% 0.106 276.2)
XYZxyz(2.1628, 1.3650, 8.1305)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171652 #515216
analogous
#163352 #171652 #351652
triadic
#171652 #521716 #165217
tetradic
#171652 #521633 #515216 #165235
square
#171652 #521633 #515216 #165235
split-complementary
#171652 #523516 #335216
monochromatic
#070618 #090922 #171652 #252382 #3230B3

Accessibility & contrast

On white

16.50
#171652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#171652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171652
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171652#FFFFFF#000000##FFFFFF
##1716521.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171652;
/* rgb */ color: rgb(23, 22, 82);
/* oklch */ color: oklch(24.8% 0.106 276.2);
Tailwind
colors: {
  custom: {
    50: '#5d5383',
    500: '#171652',
    950: '#000000',
  },
}
SCSS
$custom: #171652;
$custom-light: #5d5383;
$custom-dark: #000000;
JSON
{
  "hex": "#171652",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 241,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24824,
    "c": 0.10573,
    "h": 276.2
  },
  "luminance": 0.01365
}

Semantic roles & 50–950 ramp

primary
#171652
secondary
#88893A
accent
#E147DE
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #171652

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

Preview Lab → · Contrast checker → · Palette generator →

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