#171D79#171D79
#171D79 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.152 H 270.4°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).
Color values
| HEX | #171D79 |
|---|---|
| RGB | rgb(23, 29, 121) |
| HSL | hsl(236, 68%, 28%) |
| HSV | hsv(236, 81%, 47%) |
| CMYK | cmyk(81%, 76%, 0%, 52.5%) |
| CIE-LAB | lab(17.65, 32.33, -52.42) |
| CIE-LCH | lch(17.65, 61.59, 301.66°) |
| OKLab | oklab(30.36% 0.0011 -0.1518) |
| OKLCH | oklch(30.36% 0.152 270.4) |
| XYZ | xyz(4.2427, 2.4409, 18.3330) |
| Luminance | 0.0244 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.67
Royal
#0C1793
ΔE00 4.26
Dark Royal Blue
#02066F
ΔE00 5.08
Darkblue (survey)
#030764
ΔE00 5.60
Deep Blue
#040273
ΔE00 5.61
Navy
#000080
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171D79 #797317
analogous
#174E79 #171D79 #421779
triadic
#171D79 #79171D #1D7917
tetradic
#171D79 #79174E #797317 #177942
square
#171D79 #79174E #797317 #177942
split-complementary
#171D79 #794217 #4E7917
monochromatic
#05061A #0D1146 #171D79 #2129AC #323CD8
Accessibility & contrast
On white
14.11
#171D79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#171D79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171D79
14.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171D79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171D79 | 1.00 | 14.11 | 1.49 | 14.11 |
| #FFFFFF | 14.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #171d79; /* rgb */ color: rgb(23, 29, 121); /* oklch */ color: oklch(30.4% 0.152 270.4);
Tailwind
colors: {
custom: {
50: '#675aa1',
500: '#171d79',
950: '#000000',
},
}SCSS
$custom: #171d79; $custom-light: #675aa1; $custom-dark: #000000;
JSON
{
"hex": "#171d79",
"rgb": {
"r": 23,
"g": 29,
"b": 121
},
"hsl": {
"h": 236.327,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.30359,
"c": 0.15182,
"h": 270.4
},
"luminance": 0.02441
}Semantic roles & 50–950 ramp
primary
#171D79
secondary
#AEA73E
accent
#E03DEB
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F