#171180#171180
#171180 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.6% C 0.172 H 271.1°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).
Color values
| HEX | #171180 |
|---|---|
| RGB | rgb(23, 17, 128) |
| HSL | hsl(243, 77%, 28%) |
| HSV | hsv(243, 87%, 50%) |
| CMYK | cmyk(82%, 86.7%, 0%, 49.8%) |
| CIE-LAB | lab(16.21, 41.35, -59.27) |
| CIE-LCH | lch(16.21, 72.27, 304.90°) |
| OKLab | oklab(29.6% 0.0034 -0.1715) |
| OKLCH | oklch(29.6% 0.172 271.1) |
| XYZ | xyz(4.4488, 2.1411, 20.5967) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.84
Royal
#0C1793
ΔE00 2.94
Darkblue
#00008B
ΔE00 2.97
Deep Blue
#040273
ΔE00 3.30
Dark Royal Blue
#02066F
ΔE00 3.34
Midnight Blue
#191970
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171180 #7A8011
analogous
#114280 #171180 #4E1180
triadic
#171180 #801711 #118017
tetradic
#171180 #801142 #7A8011 #11804E
square
#171180 #801142 #7A8011 #11804E
split-complementary
#171180 #804E11 #428011
monochromatic
#05041B #0D0A4A #171180 #2118B6 #3329E3
Accessibility & contrast
On white
14.70
#171180 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#171180 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171180
14.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171180 | 1.00 | 14.70 | 1.43 | 14.70 |
| #FFFFFF | 14.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00237E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #171180; /* rgb */ color: rgb(23, 17, 128); /* oklch */ color: oklch(29.6% 0.172 271.1);
Tailwind
colors: {
custom: {
50: '#6a53a6',
500: '#171180',
950: '#000000',
},
}SCSS
$custom: #171180; $custom-light: #6a53a6; $custom-dark: #000000;
JSON
{
"hex": "#171180",
"rgb": {
"r": 23,
"g": 17,
"b": 128
},
"hsl": {
"h": 243.243,
"s": 76.552,
"l": 28.431
},
"oklch": {
"l": 0.29598,
"c": 0.17153,
"h": 271.1
},
"luminance": 0.02142
}Semantic roles & 50–950 ramp
primary
#171180
secondary
#AFB637
accent
#F335E9
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#080310
muted
#7B787F