#171C72#171C72
#171C72 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.144 H 271.1°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).
Color values
| HEX | #171C72 |
|---|---|
| RGB | rgb(23, 28, 114) |
| HSL | hsl(237, 66%, 27%) |
| HSV | hsv(237, 80%, 45%) |
| CMYK | cmyk(79.8%, 75.4%, 0%, 55.3%) |
| CIE-LAB | lab(16.64, 30.36, -49.59) |
| CIE-LCH | lch(16.64, 58.15, 301.48°) |
| OKLab | oklab(29.4% 0.0026 -0.1436) |
| OKLCH | oklch(29.4% 0.144 271.1) |
| XYZ | xyz(3.8048, 2.2272, 16.1457) |
| Luminance | 0.0223 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.92
Dark Royal Blue
#02066F
ΔE00 4.89
Darkblue (survey)
#030764
ΔE00 5.05
Royal
#0C1793
ΔE00 5.29
Deep Blue
#040273
ΔE00 5.58
Navy
#000080
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171C72 #726D17
analogous
#174A72 #171C72 #401772
triadic
#171C72 #72171C #1C7217
tetradic
#171C72 #72174A #726D17 #177240
square
#171C72 #72174A #726D17 #177240
split-complementary
#171C72 #724017 #4A7217
monochromatic
#050619 #0D0F3F #171C72 #2129A5 #2E38D5
Accessibility & contrast
On white
14.53
#171C72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#171C72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171C72
14.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171C72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171C72 | 1.00 | 14.53 | 1.45 | 14.53 |
| #FFFFFF | 14.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002570
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #171c72; /* rgb */ color: rgb(23, 28, 114); /* oklch */ color: oklch(29.4% 0.144 271.1);
Tailwind
colors: {
custom: {
50: '#65599c',
500: '#171c72',
950: '#000000',
},
}SCSS
$custom: #171c72; $custom-light: #65599c; $custom-dark: #000000;
JSON
{
"hex": "#171c72",
"rgb": {
"r": 23,
"g": 28,
"b": 114
},
"hsl": {
"h": 236.703,
"s": 66.423,
"l": 26.863
},
"oklch": {
"l": 0.29402,
"c": 0.14359,
"h": 271.1
},
"luminance": 0.02228
}Semantic roles & 50–950 ramp
primary
#171C72
secondary
#A8A23D
accent
#E03EE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E