#171890#171890
#171890 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.185 H 269.5°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).
Color values
| HEX | #171890 |
|---|---|
| RGB | rgb(23, 24, 144) |
| HSL | hsl(240, 72%, 33%) |
| HSV | hsv(240, 84%, 56%) |
| CMYK | cmyk(84%, 83.3%, 0%, 43.5%) |
| CIE-LAB | lab(19.43, 43.15, -63.99) |
| CIE-LCH | lch(19.43, 77.18, 303.99°) |
| OKLab | oklab(32.41% -0.0017 -0.1853) |
| OKLCH | oklch(32.41% 0.185 269.5) |
| XYZ | xyz(5.7123, 2.8484, 26.6289) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.66
Cobalt Blue
#030AA7
ΔE00 3.52
Darkblue
#00008B
ΔE00 3.86
Royal Blue (survey)
#0504AA
ΔE00 4.10
Navy
#000080
ΔE00 4.68
Midnight Blue
#191970
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171890 #908F17
analogous
#175590 #171890 #521790
triadic
#171890 #901718 #189017
tetradic
#171890 #901755 #908F17 #179052
square
#171890 #901755 #908F17 #179052
split-complementary
#171890 #905217 #559017
monochromatic
#060626 #0F0F5B #171890 #1F21C5 #4142E1
Accessibility & contrast
On white
13.38
#171890 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#171890 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171890
13.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171890 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171890 | 1.00 | 13.38 | 1.57 | 13.38 |
| #FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#00298E
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #171890; /* rgb */ color: rgb(23, 24, 144); /* oklch */ color: oklch(32.4% 0.185 269.5);
Tailwind
colors: {
custom: {
50: '#6e58b2',
500: '#171890',
950: '#000000',
},
}SCSS
$custom: #171890; $custom-light: #6e58b2; $custom-dark: #000000;
JSON
{
"hex": "#171890",
"rgb": {
"r": 23,
"g": 24,
"b": 144
},
"hsl": {
"h": 239.504,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.32414,
"c": 0.18531,
"h": 269.5
},
"luminance": 0.02849
}Semantic roles & 50–950 ramp
primary
#171890
secondary
#C1C042
accent
#EE39EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880