#171552#171552

#171552 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.6% C 0.107 H 276.5°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#171552
RGBrgb(23, 21, 82)
HSLhsl(242, 59%, 20%)
HSVhsv(242, 74%, 32%)
CMYKcmyk(72%, 74.4%, 0%, 67.8%)
CIE-LABlab(11.47, 22.89, -36.84)
CIE-LCHlch(11.47, 43.37, 301.85°)
OKLaboklab(24.64% 0.0122 -0.1063)
OKLCHoklch(24.64% 0.107 276.5)
XYZxyz(2.1440, 1.3275, 8.1243)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171552 #505215
analogous
#153252 #171552 #351552
triadic
#171552 #521715 #155217
tetradic
#171552 #521532 #505215 #155235
square
#171552 #521532 #505215 #155235
split-complementary
#171552 #523515 #325215
monochromatic
#070618 #090921 #171552 #252183 #322EB3

Accessibility & contrast

On white

16.59
#171552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171552
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171552#FFFFFF#000000##FFFFFF
##1715521.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002154
Deuteranopia (green-blind)
#001C51
Tritanopia (blue-blind)
#002531
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #171552;
/* rgb */ color: rgb(23, 21, 82);
/* oklch */ color: oklch(24.6% 0.107 276.5);
Tailwind
colors: {
  custom: {
    50: '#5d5283',
    500: '#171552',
    950: '#000000',
  },
}
SCSS
$custom: #171552;
$custom-light: #5d5283;
$custom-dark: #000000;
JSON
{
  "hex": "#171552",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 241.967,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24639,
    "c": 0.10705,
    "h": 276.5
  },
  "luminance": 0.01328
}

Semantic roles & 50–950 ramp

primary
#171552
secondary
#878A39
accent
#E245DD
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #171552

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

Preview Lab → · Contrast checker → · Palette generator →

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