#171190#171190

#171190 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.190 H 269.8°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#171190
RGBrgb(23, 17, 144)
HSLhsl(243, 79%, 32%)
HSVhsv(243, 88%, 56%)
CMYKcmyk(84%, 88.2%, 0%, 43.5%)
CIE-LABlab(18.35, 46.35, -65.79)
CIE-LCHlch(18.35, 80.47, 305.17°)
OKLaboklab(31.67% -0.0006 -0.1903)
OKLCHoklch(31.67% 0.19 269.8)
XYZxyz(5.5861, 2.5960, 26.5868)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171190 #8A9011
analogous
#114B90 #171190 #571190
triadic
#171190 #901711 #119017
tetradic
#171190 #90114B #8A9011 #119057
square
#171190 #90114B #8A9011 #119057
split-complementary
#171190 #905711 #4B9011
monochromatic
#060423 #0E0B59 #171190 #2017C7 #3D34E7

Accessibility & contrast

On white

13.82
#171190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#171190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171190
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171190#FFFFFF#000000##FFFFFF
##1711901.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003393
Deuteranopia (green-blind)
#00268E
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #171190;
/* rgb */ color: rgb(23, 17, 144);
/* oklch */ color: oklch(31.7% 0.190 269.8);
Tailwind
colors: {
  custom: {
    50: '#6f55b2',
    500: '#171190',
    950: '#000000',
  },
}
SCSS
$custom: #171190;
$custom-light: #6f55b2;
$custom-dark: #000000;
JSON
{
  "hex": "#171190",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 144
  },
  "hsl": {
    "h": 242.835,
    "s": 78.882,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3167,
    "c": 0.19033,
    "h": 269.8
  },
  "luminance": 0.02597
}

Semantic roles & 50–950 ramp

primary
#171190
secondary
#BEC439
accent
#F532EC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #171190

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

Preview Lab → · Contrast checker → · Palette generator →

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