#171579#171579
#171579 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.160 H 271.5°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).
Color values
| HEX | #171579 |
|---|---|
| RGB | rgb(23, 21, 121) |
| HSL | hsl(241, 70%, 28%) |
| HSV | hsv(241, 83%, 47%) |
| CMYK | cmyk(81%, 82.6%, 0%, 52.5%) |
| CIE-LAB | lab(16.00, 37.03, -55.16) |
| CIE-LCH | lch(16.00, 66.44, 303.88°) |
| OKLab | oklab(29.19% 0.0041 -0.1597) |
| OKLCH | oklch(29.19% 0.16 271.5) |
| XYZ | xyz(4.0715, 2.0985, 18.2759) |
| Luminance | 0.0210 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.94
Dark Royal Blue
#02066F
ΔE00 3.29
Deep Blue
#040273
ΔE00 3.66
Royal
#0C1793
ΔE00 3.79
Navy
#000080
ΔE00 3.86
Darkblue (survey)
#030764
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171579 #777915
analogous
#154579 #171579 #491579
triadic
#171579 #791715 #157917
tetradic
#171579 #791545 #777915 #157949
square
#171579 #791545 #777915 #157949
split-complementary
#171579 #794915 #457915
monochromatic
#05051A #0D0C45 #171579 #211EAD #312EDB
Accessibility & contrast
On white
14.79
#171579 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#171579 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171579
14.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171579 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171579 | 1.00 | 14.79 | 1.42 | 14.79 |
| #FFFFFF | 14.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002377
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #171579; /* rgb */ color: rgb(23, 21, 121); /* oklch */ color: oklch(29.2% 0.160 271.5);
Tailwind
colors: {
custom: {
50: '#6855a1',
500: '#171579',
950: '#000000',
},
}SCSS
$custom: #171579; $custom-light: #6855a1; $custom-dark: #000000;
JSON
{
"hex": "#171579",
"rgb": {
"r": 23,
"g": 21,
"b": 121
},
"hsl": {
"h": 241.2,
"s": 70.423,
"l": 27.843
},
"oklch": {
"l": 0.29191,
"c": 0.15972,
"h": 271.5
},
"luminance": 0.02099
}Semantic roles & 50–950 ramp
primary
#171579
secondary
#ACAF3B
accent
#ED3BEA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F