#171471#171471

#171471 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.150 H 272.4°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#171471
RGBrgb(23, 20, 113)
HSLhsl(242, 70%, 26%)
HSVhsv(242, 82%, 44%)
CMYKcmyk(79.6%, 82.3%, 0%, 55.7%)
CIE-LABlab(14.81, 34.84, -51.96)
CIE-LCHlch(14.81, 62.55, 303.84°)
OKLaboklab(28.08% 0.0063 -0.1504)
OKLCHoklch(28.08% 0.15 272.4)
XYZxyz(3.5831, 1.8743, 15.7925)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171471 #6E7114
analogous
#143F71 #171471 #451471
triadic
#171471 #711714 #147117
tetradic
#171471 #71143F #6E7114 #147145
square
#171471 #71143F #6E7114 #147145
split-complementary
#171471 #714514 #3F7114
monochromatic
#05051A #0C0B3D #171471 #221DA5 #2C27D9

Accessibility & contrast

On white

15.27
#171471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#171471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171471
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171471#FFFFFF#000000##FFFFFF
##1714711.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A74
Deuteranopia (green-blind)
#00216F
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #171471;
/* rgb */ color: rgb(23, 20, 113);
/* oklch */ color: oklch(28.1% 0.150 272.4);
Tailwind
colors: {
  custom: {
    50: '#66549b',
    500: '#171471',
    950: '#000000',
  },
}
SCSS
$custom: #171471;
$custom-light: #66549b;
$custom-dark: #000000;
JSON
{
  "hex": "#171471",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 241.935,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28076,
    "c": 0.15049,
    "h": 272.4
  },
  "luminance": 0.01875
}

Semantic roles & 50–950 ramp

primary
#171471
secondary
#A4A739
accent
#ED3BE7
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171471

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

Preview Lab → · Contrast checker → · Palette generator →

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