#171390#171390
#171390 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.189 H 269.7°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).
Color values
| HEX | #171390 |
|---|---|
| RGB | rgb(23, 19, 144) |
| HSL | hsl(242, 77%, 32%) |
| HSV | hsv(242, 87%, 56%) |
| CMYK | cmyk(84%, 86.8%, 0%, 43.5%) |
| CIE-LAB | lab(18.63, 45.50, -65.31) |
| CIE-LCH | lch(18.63, 79.60, 304.86°) |
| OKLab | oklab(31.87% -0.0009 -0.189) |
| OKLCH | oklch(31.87% 0.189 269.7) |
| XYZ | xyz(5.6186, 2.6609, 26.5976) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.04
Darkblue
#00008B
ΔE00 2.98
Cobalt Blue
#030AA7
ΔE00 3.13
Royal Blue (survey)
#0504AA
ΔE00 3.64
Navy
#000080
ΔE00 3.92
Indigo (survey)
#380282
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171390 #8C9013
analogous
#134E90 #171390 #561390
triadic
#171390 #901713 #139017
tetradic
#171390 #90134E #8C9013 #139056
square
#171390 #90134E #8C9013 #139056
split-complementary
#171390 #905613 #4E9013
monochromatic
#060524 #0E0C5A #171390 #201AC6 #3E39E5
Accessibility & contrast
On white
13.70
#171390 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#171390 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171390
13.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171390 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171390 | 1.00 | 13.70 | 1.53 | 13.70 |
| #FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00278E
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #171390; /* rgb */ color: rgb(23, 19, 144); /* oklch */ color: oklch(31.9% 0.189 269.7);
Tailwind
colors: {
custom: {
50: '#6f56b2',
500: '#171390',
950: '#000000',
},
}SCSS
$custom: #171390; $custom-light: #6f56b2; $custom-dark: #000000;
JSON
{
"hex": "#171390",
"rgb": {
"r": 23,
"g": 19,
"b": 144
},
"hsl": {
"h": 241.92,
"s": 76.687,
"l": 31.961
},
"oklch": {
"l": 0.31865,
"c": 0.18901,
"h": 269.7
},
"luminance": 0.02662
}Semantic roles & 50–950 ramp
primary
#171390
secondary
#BFC43B
accent
#F335ED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880