#171564#171564

#171564 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.7% C 0.132 H 273.8°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#171564
RGBrgb(23, 21, 100)
HSLhsl(242, 65%, 24%)
HSVhsv(242, 79%, 39%)
CMYKcmyk(77%, 79%, 0%, 60.8%)
CIE-LABlab(13.46, 29.63, -45.67)
CIE-LCHlch(13.46, 54.43, 302.97°)
OKLaboklab(26.67% 0.0088 -0.1321)
OKLCHoklch(26.67% 0.132 273.8)
XYZxyz(2.9210, 1.6383, 12.2164)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171564 #626415
analogous
#153A64 #171564 #3E1564
triadic
#171564 #641715 #156417
tetradic
#171564 #64153A #626415 #15643E
square
#171564 #64153A #626415 #15643E
split-complementary
#171564 #643E15 #3A6415
monochromatic
#060519 #0B0A31 #171564 #232097 #2E2AC9

Accessibility & contrast

On white

15.82
#171564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#171564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171564
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171564#FFFFFF#000000##FFFFFF
##1715641.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002666
Deuteranopia (green-blind)
#001F63
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #171564;
/* rgb */ color: rgb(23, 21, 100);
/* oklch */ color: oklch(26.7% 0.132 273.8);
Tailwind
colors: {
  custom: {
    50: '#625391',
    500: '#171564',
    950: '#000000',
  },
}
SCSS
$custom: #171564;
$custom-light: #625391;
$custom-dark: #000000;
JSON
{
  "hex": "#171564",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 241.519,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26666,
    "c": 0.13239,
    "h": 273.8
  },
  "luminance": 0.01639
}

Semantic roles & 50–950 ramp

primary
#171564
secondary
#999B3A
accent
#E840E4
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171564

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

Preview Lab → · Contrast checker → · Palette generator →

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