#171880#171880

#171880 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.166 H 270.6°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#171880
RGBrgb(23, 24, 128)
HSLhsl(239, 70%, 30%)
HSVhsv(239, 82%, 50%)
CMYKcmyk(82%, 81.3%, 0%, 49.8%)
CIE-LABlab(17.43, 37.79, -57.25)
CIE-LCHlch(17.43, 68.60, 303.43°)
OKLaboklab(30.45% 0.0016 -0.1658)
OKLCHoklch(30.45% 0.166 270.6)
XYZxyz(4.5749, 2.3934, 20.6387)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171880 #807F17
analogous
#174C80 #171880 #4B1780
triadic
#171880 #801718 #188017
tetradic
#171880 #80174C #807F17 #17804B
square
#171880 #80174C #807F17 #17804B
split-complementary
#171880 #804B17 #4C8017
monochromatic
#05051A #0E0E4C #171880 #2022B4 #3638DB

Accessibility & contrast

On white

14.20
#171880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#171880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171880
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171880#FFFFFF#000000##FFFFFF
##1718801.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00257E
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #171880;
/* rgb */ color: rgb(23, 24, 128);
/* oklch */ color: oklch(30.4% 0.166 270.6);
Tailwind
colors: {
  custom: {
    50: '#6a57a6',
    500: '#171880',
    950: '#000000',
  },
}
SCSS
$custom: #171880;
$custom-light: #6a57a6;
$custom-dark: #000000;
JSON
{
  "hex": "#171880",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 239.429,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30445,
    "c": 0.16579,
    "h": 270.6
  },
  "luminance": 0.02394
}

Semantic roles & 50–950 ramp

primary
#171880
secondary
#B4B33E
accent
#EB3BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #171880

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

Preview Lab → · Contrast checker → · Palette generator →

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