#171553#171553

#171553 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.7% C 0.109 H 276.4°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#171553
RGBrgb(23, 21, 83)
HSLhsl(242, 60%, 20%)
HSVhsv(242, 75%, 33%)
CMYKcmyk(72.3%, 74.7%, 0%, 67.5%)
CIE-LABlab(11.57, 23.27, -37.35)
CIE-LCHlch(11.57, 44.01, 301.92°)
OKLaboklab(24.75% 0.012 -0.1078)
OKLCHoklch(24.75% 0.109 276.4)
XYZxyz(2.1823, 1.3428, 8.3261)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171553 #515315
analogous
#153253 #171553 #361553
triadic
#171553 #531715 #155317
tetradic
#171553 #531532 #515315 #155336
square
#171553 #531532 #515315 #155336
split-complementary
#171553 #533615 #325315
monochromatic
#070618 #090922 #171553 #252184 #322EB5

Accessibility & contrast

On white

16.55
#171553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171553
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171553#FFFFFF#000000##FFFFFF
##1715531.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171553;
/* rgb */ color: rgb(23, 21, 83);
/* oklch */ color: oklch(24.7% 0.109 276.4);
Tailwind
colors: {
  custom: {
    50: '#5e5384',
    500: '#171553',
    950: '#000000',
  },
}
SCSS
$custom: #171553;
$custom-light: #5e5384;
$custom-dark: #000000;
JSON
{
  "hex": "#171553",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 83
  },
  "hsl": {
    "h": 241.935,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24747,
    "c": 0.10851,
    "h": 276.4
  },
  "luminance": 0.01343
}

Semantic roles & 50–950 ramp

primary
#171553
secondary
#888B39
accent
#E345DE
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #171553

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

Preview Lab → · Contrast checker → · Palette generator →

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