#171890#171890

#171890 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.185 H 269.5°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#171890
RGBrgb(23, 24, 144)
HSLhsl(240, 72%, 33%)
HSVhsv(240, 84%, 56%)
CMYKcmyk(84%, 83.3%, 0%, 43.5%)
CIE-LABlab(19.43, 43.15, -63.99)
CIE-LCHlch(19.43, 77.18, 303.99°)
OKLaboklab(32.41% -0.0017 -0.1853)
OKLCHoklch(32.41% 0.185 269.5)
XYZxyz(5.7123, 2.8484, 26.6289)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171890 #908F17
analogous
#175590 #171890 #521790
triadic
#171890 #901718 #189017
tetradic
#171890 #901755 #908F17 #179052
square
#171890 #901755 #908F17 #179052
split-complementary
#171890 #905217 #559017
monochromatic
#060626 #0F0F5B #171890 #1F21C5 #4142E1

Accessibility & contrast

On white

13.38
#171890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#171890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171890
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171890#FFFFFF#000000##FFFFFF
##1718901.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#00298E
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #171890;
/* rgb */ color: rgb(23, 24, 144);
/* oklch */ color: oklch(32.4% 0.185 269.5);
Tailwind
colors: {
  custom: {
    50: '#6e58b2',
    500: '#171890',
    950: '#000000',
  },
}
SCSS
$custom: #171890;
$custom-light: #6e58b2;
$custom-dark: #000000;
JSON
{
  "hex": "#171890",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 239.504,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32414,
    "c": 0.18531,
    "h": 269.5
  },
  "luminance": 0.02849
}

Semantic roles & 50–950 ramp

primary
#171890
secondary
#C1C042
accent
#EE39EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #171890

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

Preview Lab → · Contrast checker → · Palette generator →

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