#171060#171060

#171060 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.5% C 0.132 H 275.4°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#171060
RGBrgb(23, 16, 96)
HSLhsl(245, 71%, 22%)
HSVhsv(245, 83%, 38%)
CMYKcmyk(76%, 83.3%, 0%, 62.4%)
CIE-LABlab(11.94, 31.18, -45.52)
CIE-LCHlch(11.94, 55.18, 304.41°)
OKLaboklab(25.45% 0.0124 -0.1316)
OKLCHoklch(25.45% 0.132 275.4)
XYZxyz(2.6493, 1.3970, 11.1941)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171060 #596010
analogous
#103160 #171060 #3F1060
triadic
#171060 #601710 #106017
tetradic
#171060 #601031 #596010 #10603F
square
#171060 #601031 #596010 #10603F
split-complementary
#171060 #603F10 #316010
monochromatic
#06041A #0A072C #171060 #241994 #3021C9

Accessibility & contrast

On white

16.41
#171060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#171060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171060
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171060#FFFFFF#000000##FFFFFF
##1710601.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002362
Deuteranopia (green-blind)
#001C5F
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #171060;
/* rgb */ color: rgb(23, 16, 96);
/* oklch */ color: oklch(25.5% 0.132 275.4);
Tailwind
colors: {
  custom: {
    50: '#62508e',
    500: '#171060',
    950: '#000000',
  },
}
SCSS
$custom: #171060;
$custom-light: #62508e;
$custom-dark: #000000;
JSON
{
  "hex": "#171060",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 245.25,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25451,
    "c": 0.13221,
    "h": 275.4
  },
  "luminance": 0.01397
}

Semantic roles & 50–950 ramp

primary
#171060
secondary
#909933
accent
#EE3ADE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #171060

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

Preview Lab → · Contrast checker → · Palette generator →

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