#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 |
|---|---|
| RGB | rgb(23, 21, 144) |
| HSL | hsl(241, 75%, 32%) |
| HSV | hsv(241, 85%, 56%) |
| CMYK | cmyk(84%, 85.4%, 0%, 43.5%) |
| CIE-LAB | lab(18.93, 44.60, -64.81) |
| CIE-LCH | lch(18.93, 78.67, 304.54°) |
| OKLab | oklab(32.07% -0.0012 -0.1876) |
| OKLCH | oklch(32.07% 0.188 269.6) |
| XYZ | xyz(5.6538, 2.7314, 26.6094) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.79
Cobalt Blue
#030AA7
ΔE00 3.25
Darkblue
#00008B
ΔE00 3.31
Royal Blue (survey)
#0504AA
ΔE00 3.80
Navy
#000080
ΔE00 4.20
Ultramarine
#2000B1
ΔE00 4.85
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 |
|---|---|---|---|---|
| ##171590 | 1.00 | 13.58 | 1.55 | 13.58 |
| #FFFFFF | 13.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.58 | 1.00 | 21.00 | 1.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