#171490#171490
#171490 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.188 H 269.7°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).
Color values
| HEX | #171490 |
|---|---|
| RGB | rgb(23, 20, 144) |
| HSL | hsl(241, 76%, 32%) |
| HSV | hsv(241, 86%, 56%) |
| CMYK | cmyk(84%, 86.1%, 0%, 43.5%) |
| CIE-LAB | lab(18.78, 45.06, -65.07) |
| CIE-LCH | lch(18.78, 79.14, 304.70°) |
| OKLab | oklab(31.97% -0.001 -0.1883) |
| OKLCH | oklch(31.97% 0.188 269.7) |
| XYZ | xyz(5.6358, 2.6954, 26.6034) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.91
Darkblue
#00008B
ΔE00 3.15
Cobalt Blue
#030AA7
ΔE00 3.19
Royal Blue (survey)
#0504AA
ΔE00 3.71
Navy
#000080
ΔE00 4.06
Ultramarine
#2000B1
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171490 #8D9014
analogous
#144F90 #171490 #551490
triadic
#171490 #901714 #149017
tetradic
#171490 #90144F #8D9014 #149055
square
#171490 #90144F #8D9014 #149055
split-complementary
#171490 #905514 #4F9014
monochromatic
#060525 #0E0D5A #171490 #201BC6 #3F3BE4
Accessibility & contrast
On white
13.64
#171490 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#171490 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171490
13.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171490 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171490 | 1.00 | 13.64 | 1.54 | 13.64 |
| #FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00278E
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #171490; /* rgb */ color: rgb(23, 20, 144); /* oklch */ color: oklch(32.0% 0.188 269.7);
Tailwind
colors: {
custom: {
50: '#6f56b2',
500: '#171490',
950: '#000000',
},
}SCSS
$custom: #171490; $custom-light: #6f56b2; $custom-dark: #000000;
JSON
{
"hex": "#171490",
"rgb": {
"r": 23,
"g": 20,
"b": 144
},
"hsl": {
"h": 241.452,
"s": 75.61,
"l": 32.157
},
"oklch": {
"l": 0.31967,
"c": 0.18832,
"h": 269.7
},
"luminance": 0.02696
}Semantic roles & 50–950 ramp
primary
#171490
secondary
#C0C33D
accent
#F236EE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880