#171160#171160

#171160 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.6% C 0.131 H 275.2°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#171160
RGBrgb(23, 17, 96)
HSLhsl(245, 70%, 22%)
HSVhsv(245, 82%, 38%)
CMYKcmyk(76%, 82.3%, 0%, 62.4%)
CIE-LABlab(12.14, 30.60, -45.19)
CIE-LCHlch(12.14, 54.58, 304.10°)
OKLaboklab(25.59% 0.0119 -0.1307)
OKLCHoklch(25.59% 0.131 275.2)
XYZxyz(2.6644, 1.4273, 11.1991)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171160 #5A6011
analogous
#113360 #171160 #3F1160
triadic
#171160 #601711 #116017
tetradic
#171160 #601133 #5A6011 #11603F
square
#171160 #601133 #5A6011 #11603F
split-complementary
#171160 #603F11 #336011
monochromatic
#06051A #0B082C #171160 #231A94 #3023C8

Accessibility & contrast

On white

16.33
#171160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#171160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171160
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171160#FFFFFF#000000##FFFFFF
##1711601.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002362
Deuteranopia (green-blind)
#001C5F
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #171160;
/* rgb */ color: rgb(23, 17, 96);
/* oklch */ color: oklch(25.6% 0.131 275.2);
Tailwind
colors: {
  custom: {
    50: '#62518e',
    500: '#171160',
    950: '#000000',
  },
}
SCSS
$custom: #171160;
$custom-light: #62518e;
$custom-dark: #000000;
JSON
{
  "hex": "#171160",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 244.557,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25592,
    "c": 0.13122,
    "h": 275.2
  },
  "luminance": 0.01428
}

Semantic roles & 50–950 ramp

primary
#171160
secondary
#919934
accent
#ED3BDF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #171160

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

Preview Lab → · Contrast checker → · Palette generator →

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