#171560#171560

#171560 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.2% C 0.127 H 274.4°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#171560
RGBrgb(23, 21, 96)
HSLhsl(242, 64%, 23%)
HSVhsv(242, 78%, 38%)
CMYKcmyk(76%, 78.1%, 0%, 62.4%)
CIE-LABlab(13.00, 28.16, -43.77)
CIE-LCHlch(13.00, 52.04, 302.75°)
OKLaboklab(26.2% 0.0097 -0.1266)
OKLCHoklch(26.2% 0.127 274.4)
XYZxyz(2.7321, 1.5628, 11.2217)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171560 #5E6015
analogous
#153860 #171560 #3C1560
triadic
#171560 #601715 #156017
tetradic
#171560 #601538 #5E6015 #15603C
square
#171560 #601538 #5E6015 #15603C
split-complementary
#171560 #603C15 #386015
monochromatic
#060519 #0B0A2E #171560 #232092 #2F2BC4

Accessibility & contrast

On white

16.00
#171560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#171560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171560
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171560#FFFFFF#000000##FFFFFF
##1715601.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002562
Deuteranopia (green-blind)
#001E5F
Tritanopia (blue-blind)
#002A39
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #171560;
/* rgb */ color: rgb(23, 21, 96);
/* oklch */ color: oklch(26.2% 0.127 274.4);
Tailwind
colors: {
  custom: {
    50: '#61538e',
    500: '#171560',
    950: '#000000',
  },
}
SCSS
$custom: #171560;
$custom-light: #61538e;
$custom-dark: #000000;
JSON
{
  "hex": "#171560",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 96
  },
  "hsl": {
    "h": 241.6,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26202,
    "c": 0.12694,
    "h": 274.4
  },
  "luminance": 0.01563
}

Semantic roles & 50–950 ramp

primary
#171560
secondary
#95973A
accent
#E741E3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #171560

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

Preview Lab → · Contrast checker → · Palette generator →

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