#171573#171573

#171573 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.152 H 272.1°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#171573
RGBrgb(23, 21, 115)
HSLhsl(241, 69%, 27%)
HSVhsv(241, 82%, 45%)
CMYKcmyk(80%, 81.7%, 0%, 54.9%)
CIE-LABlab(15.25, 34.97, -52.52)
CIE-LCHlch(15.25, 63.10, 303.66°)
OKLaboklab(28.46% 0.0055 -0.152)
OKLCHoklch(28.46% 0.152 272.1)
XYZxyz(3.7150, 1.9559, 16.3981)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171573 #717315
analogous
#154273 #171573 #461573
triadic
#171573 #731715 #157317
tetradic
#171573 #731542 #717315 #157346
square
#171573 #731542 #717315 #157346
split-complementary
#171573 #734615 #427315
monochromatic
#05051A #0D0C3F #171573 #211EA7 #2E2AD8

Accessibility & contrast

On white

15.09
#171573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#171573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171573
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171573#FFFFFF#000000##FFFFFF
##1715731.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B76
Deuteranopia (green-blind)
#002171
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #171573;
/* rgb */ color: rgb(23, 21, 115);
/* oklch */ color: oklch(28.5% 0.152 272.1);
Tailwind
colors: {
  custom: {
    50: '#66549c',
    500: '#171573',
    950: '#000000',
  },
}
SCSS
$custom: #171573;
$custom-light: #66549c;
$custom-dark: #000000;
JSON
{
  "hex": "#171573",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 241.277,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28456,
    "c": 0.15212,
    "h": 272.1
  },
  "luminance": 0.01956
}

Semantic roles & 50–950 ramp

primary
#171573
secondary
#A7A93B
accent
#EC3CE8
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171573

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

Preview Lab → · Contrast checker → · Palette generator →

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