#171990#171990

#171990 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.184 H 269.4°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#171990
RGBrgb(23, 25, 144)
HSLhsl(239, 72%, 33%)
HSVhsv(239, 84%, 56%)
CMYKcmyk(84%, 82.6%, 0%, 43.5%)
CIE-LABlab(19.60, 42.65, -63.70)
CIE-LCHlch(19.60, 76.66, 303.80°)
OKLaboklab(32.53% -0.0019 -0.1845)
OKLCHoklch(32.53% 0.184 269.4)
XYZxyz(5.7333, 2.8904, 26.6359)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171990 #908E17
analogous
#175690 #171990 #511790
triadic
#171990 #901719 #199017
tetradic
#171990 #901756 #908E17 #179051
square
#171990 #901756 #908E17 #179051
split-complementary
#171990 #905117 #569017
monochromatic
#060726 #0F105B #171990 #1F22C5 #4143E1

Accessibility & contrast

On white

13.31
#171990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#171990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171990
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171990#FFFFFF#000000##FFFFFF
##1719901.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171990;
/* rgb */ color: rgb(23, 25, 144);
/* oklch */ color: oklch(32.5% 0.184 269.4);
Tailwind
colors: {
  custom: {
    50: '#6e59b2',
    500: '#171990',
    950: '#000000',
  },
}
SCSS
$custom: #171990;
$custom-light: #6e59b2;
$custom-dark: #000000;
JSON
{
  "hex": "#171990",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 239.008,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32535,
    "c": 0.18449,
    "h": 269.4
  },
  "luminance": 0.02891
}

Semantic roles & 50–950 ramp

primary
#171990
secondary
#C1BF42
accent
#EC39EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #171990

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

Preview Lab → · Contrast checker → · Palette generator →

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