#171590#171590

#171590 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.188 H 269.6°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#171590
RGBrgb(23, 21, 144)
HSLhsl(241, 75%, 32%)
HSVhsv(241, 85%, 56%)
CMYKcmyk(84%, 85.4%, 0%, 43.5%)
CIE-LABlab(18.93, 44.60, -64.81)
CIE-LCHlch(18.93, 78.67, 304.54°)
OKLaboklab(32.07% -0.0012 -0.1876)
OKLCHoklch(32.07% 0.188 269.6)
XYZxyz(5.6538, 2.7314, 26.6094)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171590 #8E9015
analogous
#155090 #171590 #551590
triadic
#171590 #901715 #159017
tetradic
#171590 #901550 #8E9015 #159055
square
#171590 #901550 #8E9015 #159055
split-complementary
#171590 #905515 #509015
monochromatic
#060525 #0E0D5B #171590 #201DC5 #3F3DE3

Accessibility & contrast

On white

13.58
#171590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#171590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171590
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171590#FFFFFF#000000##FFFFFF
##1715901.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00278E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #171590;
/* rgb */ color: rgb(23, 21, 144);
/* oklch */ color: oklch(32.1% 0.188 269.6);
Tailwind
colors: {
  custom: {
    50: '#6f57b2',
    500: '#171590',
    950: '#000000',
  },
}
SCSS
$custom: #171590;
$custom-light: #6f57b2;
$custom-dark: #000000;
JSON
{
  "hex": "#171590",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 240.976,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32074,
    "c": 0.1876,
    "h": 269.6
  },
  "luminance": 0.02732
}

Semantic roles & 50–950 ramp

primary
#171590
secondary
#C0C23E
accent
#F137EE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #171590

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

Preview Lab → · Contrast checker → · Palette generator →

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