#171779#171779
#171779 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.158 H 271.2°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).
Color values
| HEX | #171779 |
|---|---|
| RGB | rgb(23, 23, 121) |
| HSL | hsl(240, 68%, 28%) |
| HSV | hsv(240, 81%, 47%) |
| CMYK | cmyk(81%, 81%, 0%, 52.5%) |
| CIE-LAB | lab(16.38, 35.93, -54.52) |
| CIE-LCH | lch(16.38, 65.29, 303.38°) |
| OKLab | oklab(29.46% 0.0034 -0.1578) |
| OKLCH | oklch(29.46% 0.158 271.2) |
| XYZ | xyz(4.1098, 2.1750, 18.2887) |
| Luminance | 0.0217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.66
Dark Royal Blue
#02066F
ΔE00 3.68
Royal
#0C1793
ΔE00 3.81
Deep Blue
#040273
ΔE00 4.10
Navy
#000080
ΔE00 4.30
Darkblue (survey)
#030764
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171779 #797917
analogous
#174879 #171779 #481779
triadic
#171779 #791717 #177917
tetradic
#171779 #791748 #797917 #177948
square
#171779 #791748 #797917 #177948
split-complementary
#171779 #794817 #487917
monochromatic
#05051A #0D0D46 #171779 #2121AC #3232D8
Accessibility & contrast
On white
14.63
#171779 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#171779 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171779
14.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171779 | 1.00 | 14.63 | 1.44 | 14.63 |
| #FFFFFF | 14.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002477
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #171779; /* rgb */ color: rgb(23, 23, 121); /* oklch */ color: oklch(29.5% 0.158 271.2);
Tailwind
colors: {
custom: {
50: '#6856a1',
500: '#171779',
950: '#000000',
},
}SCSS
$custom: #171779; $custom-light: #6856a1; $custom-dark: #000000;
JSON
{
"hex": "#171779",
"rgb": {
"r": 23,
"g": 23,
"b": 121
},
"hsl": {
"h": 240,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.2946,
"c": 0.15789,
"h": 271.2
},
"luminance": 0.02175
}Semantic roles & 50–950 ramp
primary
#171779
secondary
#AEAE3E
accent
#EB3DEB
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F