#171C78#171C78
#171C78 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.152 H 270.6°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #171C78 |
|---|---|
| RGB | rgb(23, 28, 120) |
| HSL | hsl(237, 68%, 28%) |
| HSV | hsv(237, 81%, 47%) |
| CMYK | cmyk(80.8%, 76.7%, 0%, 52.9%) |
| CIE-LAB | lab(17.31, 32.59, -52.34) |
| CIE-LCH | lch(17.31, 61.65, 301.91°) |
| OKLab | oklab(30.09% 0.0017 -0.1516) |
| OKLCH | oklch(30.09% 0.152 270.6) |
| XYZ | xyz(4.1576, 2.3683, 18.0037) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.42
Royal
#0C1793
ΔE00 4.30
Dark Royal Blue
#02066F
ΔE00 4.81
Darkblue (survey)
#030764
ΔE00 5.32
Deep Blue
#040273
ΔE00 5.36
Navy
#000080
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171C78 #787317
analogous
#174C78 #171C78 #421778
triadic
#171C78 #78171C #1C7817
tetradic
#171C78 #78174C #787317 #177842
square
#171C78 #78174C #787317 #177842
split-complementary
#171C78 #784217 #4C7817
monochromatic
#05061A #0D1045 #171C78 #2128AB #323AD8
Accessibility & contrast
On white
14.25
#171C78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#171C78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171C78
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171C78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171C78 | 1.00 | 14.25 | 1.47 | 14.25 |
| #FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7B
Deuteranopia (green-blind)
#002676
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #171c78; /* rgb */ color: rgb(23, 28, 120); /* oklch */ color: oklch(30.1% 0.152 270.6);
Tailwind
colors: {
custom: {
50: '#6759a0',
500: '#171c78',
950: '#000000',
},
}SCSS
$custom: #171c78; $custom-light: #6759a0; $custom-dark: #000000;
JSON
{
"hex": "#171c78",
"rgb": {
"r": 23,
"g": 28,
"b": 120
},
"hsl": {
"h": 236.907,
"s": 67.832,
"l": 28.039
},
"oklch": {
"l": 0.30085,
"c": 0.15158,
"h": 270.6
},
"luminance": 0.02369
}Semantic roles & 50–950 ramp
primary
#171C78
secondary
#ADA73E
accent
#E23DEB
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F