#171C76#171C76
#171C76 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.149 H 270.8°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).
Color values
| HEX | #171C76 |
|---|---|
| RGB | rgb(23, 28, 118) |
| HSL | hsl(237, 67%, 28%) |
| HSV | hsv(237, 81%, 46%) |
| CMYK | cmyk(80.5%, 76.3%, 0%, 53.7%) |
| CIE-LAB | lab(17.09, 31.85, -51.43) |
| CIE-LCH | lch(17.09, 60.49, 301.77°) |
| OKLab | oklab(29.86% 0.002 -0.1489) |
| OKLCH | oklch(29.86% 0.149 270.8) |
| XYZ | xyz(4.0375, 2.3202, 17.3711) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.18
Royal
#0C1793
ΔE00 4.63
Dark Royal Blue
#02066F
ΔE00 4.81
Darkblue (survey)
#030764
ΔE00 5.21
Deep Blue
#040273
ΔE00 5.41
Navy
#000080
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171C76 #767117
analogous
#174C76 #171C76 #411776
triadic
#171C76 #76171C #1C7617
tetradic
#171C76 #76174C #767117 #177641
square
#171C76 #76174C #767117 #177641
split-complementary
#171C76 #764117 #4C7617
monochromatic
#05061A #0D1043 #171C76 #2128A9 #3139D7
Accessibility & contrast
On white
14.34
#171C76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#171C76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171C76
14.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171C76 | 1.00 | 14.34 | 1.46 | 14.34 |
| #FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #171c76; /* rgb */ color: rgb(23, 28, 118); /* oklch */ color: oklch(29.9% 0.149 270.8);
Tailwind
colors: {
custom: {
50: '#67599f',
500: '#171c76',
950: '#000000',
},
}SCSS
$custom: #171c76; $custom-light: #67599f; $custom-dark: #000000;
JSON
{
"hex": "#171c76",
"rgb": {
"r": 23,
"g": 28,
"b": 118
},
"hsl": {
"h": 236.842,
"s": 67.376,
"l": 27.647
},
"oklch": {
"l": 0.29856,
"c": 0.14893,
"h": 270.8
},
"luminance": 0.02321
}Semantic roles & 50–950 ramp
primary
#171C76
secondary
#ABA63E
accent
#E13EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E