#171679#171679
#171679 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.159 H 271.4°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).
Color values
| HEX | #171679 |
|---|---|
| RGB | rgb(23, 22, 121) |
| HSL | hsl(241, 69%, 28%) |
| HSV | hsv(241, 82%, 47%) |
| CMYK | cmyk(81%, 81.8%, 0%, 52.5%) |
| CIE-LAB | lab(16.19, 36.49, -54.84) |
| CIE-LCH | lch(16.19, 65.87, 303.63°) |
| OKLab | oklab(29.32% 0.0038 -0.1588) |
| OKLCH | oklch(29.32% 0.159 271.4) |
| XYZ | xyz(4.0903, 2.1360, 18.2822) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.79
Dark Royal Blue
#02066F
ΔE00 3.48
Royal
#0C1793
ΔE00 3.80
Deep Blue
#040273
ΔE00 3.87
Navy
#000080
ΔE00 4.07
Darkblue (survey)
#030764
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171679 #787916
analogous
#164679 #171679 #481679
triadic
#171679 #791716 #167917
tetradic
#171679 #791646 #787916 #167948
square
#171679 #791646 #787916 #167948
split-complementary
#171679 #794816 #467916
monochromatic
#05051A #0D0D45 #171679 #211FAD #3230D9
Accessibility & contrast
On white
14.71
#171679 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#171679 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171679
14.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171679 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171679 | 1.00 | 14.71 | 1.43 | 14.71 |
| #FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002377
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #171679; /* rgb */ color: rgb(23, 22, 121); /* oklch */ color: oklch(29.3% 0.159 271.4);
Tailwind
colors: {
custom: {
50: '#6855a1',
500: '#171679',
950: '#000000',
},
}SCSS
$custom: #171679; $custom-light: #6855a1; $custom-dark: #000000;
JSON
{
"hex": "#171679",
"rgb": {
"r": 23,
"g": 22,
"b": 121
},
"hsl": {
"h": 240.606,
"s": 69.231,
"l": 28.039
},
"oklch": {
"l": 0.29324,
"c": 0.15881,
"h": 271.4
},
"luminance": 0.02136
}Semantic roles & 50–950 ramp
primary
#171679
secondary
#ADAE3D
accent
#EC3CEA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F