#171C79#171C79
#171C79 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.153 H 270.6°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).
Color values
| HEX | #171C79 |
|---|---|
| RGB | rgb(23, 28, 121) |
| HSL | hsl(237, 68%, 28%) |
| HSV | hsv(237, 81%, 47%) |
| CMYK | cmyk(81%, 76.9%, 0%, 52.5%) |
| CIE-LAB | lab(17.43, 32.95, -52.79) |
| CIE-LCH | lch(17.43, 62.23, 301.97°) |
| OKLab | oklab(30.2% 0.0015 -0.1529) |
| OKLCH | oklch(30.2% 0.153 270.6) |
| XYZ | xyz(4.2186, 2.3927, 18.3249) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.55
Royal
#0C1793
ΔE00 4.14
Dark Royal Blue
#02066F
ΔE00 4.82
Deep Blue
#040273
ΔE00 5.34
Darkblue (survey)
#030764
ΔE00 5.38
Navy
#000080
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171C79 #797417
analogous
#174D79 #171C79 #431779
triadic
#171C79 #79171C #1C7917
tetradic
#171C79 #79174D #797417 #177943
square
#171C79 #79174D #797417 #177943
split-complementary
#171C79 #794317 #4D7917
monochromatic
#05061A #0D1046 #171C79 #2128AC #323BD8
Accessibility & contrast
On white
14.20
#171C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#171C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171C79
14.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171C79 | 1.00 | 14.20 | 1.48 | 14.20 |
| #FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #171c79; /* rgb */ color: rgb(23, 28, 121); /* oklch */ color: oklch(30.2% 0.153 270.6);
Tailwind
colors: {
custom: {
50: '#6759a1',
500: '#171c79',
950: '#000000',
},
}SCSS
$custom: #171c79; $custom-light: #6759a1; $custom-dark: #000000;
JSON
{
"hex": "#171c79",
"rgb": {
"r": 23,
"g": 28,
"b": 121
},
"hsl": {
"h": 236.939,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.302,
"c": 0.15289,
"h": 270.6
},
"luminance": 0.02393
}Semantic roles & 50–950 ramp
primary
#171C79
secondary
#AEA83E
accent
#E23DEB
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F