#171690#171690
#171690 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.187 H 269.6°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).
Color values
| HEX | #171690 |
|---|---|
| RGB | rgb(23, 22, 144) |
| HSL | hsl(240, 73%, 33%) |
| HSV | hsv(240, 85%, 56%) |
| CMYK | cmyk(84%, 84.7%, 0%, 43.5%) |
| CIE-LAB | lab(19.09, 44.13, -64.55) |
| CIE-LCH | lch(19.09, 78.19, 304.36°) |
| OKLab | oklab(32.18% -0.0013 -0.1868) |
| OKLCH | oklch(32.18% 0.187 269.6) |
| XYZ | xyz(5.6726, 2.7689, 26.6156) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.70
Cobalt Blue
#030AA7
ΔE00 3.33
Darkblue
#00008B
ΔE00 3.49
Royal Blue (survey)
#0504AA
ΔE00 3.89
Navy
#000080
ΔE00 4.35
Ultramarine
#2000B1
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171690 #8F9016
analogous
#165290 #171690 #541690
triadic
#171690 #901716 #169017
tetradic
#171690 #901652 #8F9016 #169054
square
#171690 #901652 #8F9016 #169054
split-complementary
#171690 #905416 #529016
monochromatic
#060626 #0F0E5B #171690 #1F1EC5 #403FE2
Accessibility & contrast
On white
13.51
#171690 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#171690 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171690
13.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171690 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171690 | 1.00 | 13.51 | 1.55 | 13.51 |
| #FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00288E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #171690; /* rgb */ color: rgb(23, 22, 144); /* oklch */ color: oklch(32.2% 0.187 269.6);
Tailwind
colors: {
custom: {
50: '#6e57b2',
500: '#171690',
950: '#000000',
},
}SCSS
$custom: #171690; $custom-light: #6e57b2; $custom-dark: #000000;
JSON
{
"hex": "#171690",
"rgb": {
"r": 23,
"g": 22,
"b": 144
},
"hsl": {
"h": 240.492,
"s": 73.494,
"l": 32.549
},
"oklch": {
"l": 0.32184,
"c": 0.18685,
"h": 269.6
},
"luminance": 0.0277
}Semantic roles & 50–950 ramp
primary
#171690
secondary
#C1C240
accent
#F038EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880