#171180#171180

#171180 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.6% C 0.172 H 271.1°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#171180
RGBrgb(23, 17, 128)
HSLhsl(243, 77%, 28%)
HSVhsv(243, 87%, 50%)
CMYKcmyk(82%, 86.7%, 0%, 49.8%)
CIE-LABlab(16.21, 41.35, -59.27)
CIE-LCHlch(16.21, 72.27, 304.90°)
OKLaboklab(29.6% 0.0034 -0.1715)
OKLCHoklch(29.6% 0.172 271.1)
XYZxyz(4.4488, 2.1411, 20.5967)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171180 #7A8011
analogous
#114280 #171180 #4E1180
triadic
#171180 #801711 #118017
tetradic
#171180 #801142 #7A8011 #11804E
square
#171180 #801142 #7A8011 #11804E
split-complementary
#171180 #804E11 #428011
monochromatic
#05041B #0D0A4A #171180 #2118B6 #3329E3

Accessibility & contrast

On white

14.70
#171180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#171180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171180
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171180#FFFFFF#000000##FFFFFF
##1711801.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00237E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #171180;
/* rgb */ color: rgb(23, 17, 128);
/* oklch */ color: oklch(29.6% 0.172 271.1);
Tailwind
colors: {
  custom: {
    50: '#6a53a6',
    500: '#171180',
    950: '#000000',
  },
}
SCSS
$custom: #171180;
$custom-light: #6a53a6;
$custom-dark: #000000;
JSON
{
  "hex": "#171180",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 128
  },
  "hsl": {
    "h": 243.243,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29598,
    "c": 0.17153,
    "h": 271.1
  },
  "luminance": 0.02142
}

Semantic roles & 50–950 ramp

primary
#171180
secondary
#AFB637
accent
#F335E9
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #171180

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

Preview Lab → · Contrast checker → · Palette generator →

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