#171575#171575
#171575 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.155 H 271.9°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).
Color values
| HEX | #171575 |
|---|---|
| RGB | rgb(23, 21, 117) |
| HSL | hsl(241, 70%, 27%) |
| HSV | hsv(241, 82%, 46%) |
| CMYK | cmyk(80.3%, 82.1%, 0%, 54.1%) |
| CIE-LAB | lab(15.50, 35.66, -53.41) |
| CIE-LCH | lch(15.50, 64.22, 303.73°) |
| OKLab | oklab(28.7% 0.005 -0.1546) |
| OKLCH | oklch(28.7% 0.155 271.9) |
| XYZ | xyz(3.8313, 2.0024, 17.0108) |
| Luminance | 0.0200 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.44
Dark Royal Blue
#02066F
ΔE00 3.14
Deep Blue
#040273
ΔE00 3.66
Darkblue (survey)
#030764
ΔE00 3.81
Navy
#000080
ΔE00 4.15
Royal
#0C1793
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171575 #737515
analogous
#154375 #171575 #471575
triadic
#171575 #751715 #157517
tetradic
#171575 #751543 #737515 #157547
square
#171575 #751543 #737515 #157547
split-complementary
#171575 #754715 #437515
monochromatic
#05051A #0D0C41 #171575 #211EA9 #2F2BD9
Accessibility & contrast
On white
14.99
#171575 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#171575 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171575
14.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171575 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171575 | 1.00 | 14.99 | 1.40 | 14.99 |
| #FFFFFF | 14.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002273
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #171575; /* rgb */ color: rgb(23, 21, 117); /* oklch */ color: oklch(28.7% 0.155 271.9);
Tailwind
colors: {
custom: {
50: '#67559e',
500: '#171575',
950: '#000000',
},
}SCSS
$custom: #171575; $custom-light: #67559e; $custom-dark: #000000;
JSON
{
"hex": "#171575",
"rgb": {
"r": 23,
"g": 21,
"b": 117
},
"hsl": {
"h": 241.25,
"s": 69.565,
"l": 27.059
},
"oklch": {
"l": 0.287,
"c": 0.15467,
"h": 271.9
},
"luminance": 0.02003
}Semantic roles & 50–950 ramp
primary
#171575
secondary
#A9AB3B
accent
#EC3BE9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E