#171575#171575

#171575 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.155 H 271.9°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#171575
RGBrgb(23, 21, 117)
HSLhsl(241, 70%, 27%)
HSVhsv(241, 82%, 46%)
CMYKcmyk(80.3%, 82.1%, 0%, 54.1%)
CIE-LABlab(15.50, 35.66, -53.41)
CIE-LCHlch(15.50, 64.22, 303.73°)
OKLaboklab(28.7% 0.005 -0.1546)
OKLCHoklch(28.7% 0.155 271.9)
XYZxyz(3.8313, 2.0024, 17.0108)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171575 #737515
analogous
#154375 #171575 #471575
triadic
#171575 #751715 #157517
tetradic
#171575 #751543 #737515 #157547
square
#171575 #751543 #737515 #157547
split-complementary
#171575 #754715 #437515
monochromatic
#05051A #0D0C41 #171575 #211EA9 #2F2BD9

Accessibility & contrast

On white

14.99
#171575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#171575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171575
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171575#FFFFFF#000000##FFFFFF
##1715751.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002273
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #171575;
/* rgb */ color: rgb(23, 21, 117);
/* oklch */ color: oklch(28.7% 0.155 271.9);
Tailwind
colors: {
  custom: {
    50: '#67559e',
    500: '#171575',
    950: '#000000',
  },
}
SCSS
$custom: #171575;
$custom-light: #67559e;
$custom-dark: #000000;
JSON
{
  "hex": "#171575",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 241.25,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.287,
    "c": 0.15467,
    "h": 271.9
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#171575
secondary
#A9AB3B
accent
#EC3BE9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171575

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

Preview Lab → · Contrast checker → · Palette generator →

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