#171C6E#171C6E
#171C6E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.138 H 271.3°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).
Color values
| HEX | #171C6E |
|---|---|
| RGB | rgb(23, 28, 110) |
| HSL | hsl(237, 65%, 26%) |
| HSV | hsv(237, 79%, 43%) |
| CMYK | cmyk(79.1%, 74.5%, 0%, 56.9%) |
| CIE-LAB | lab(16.20, 28.86, -47.72) |
| CIE-LCH | lch(16.20, 55.77, 301.17°) |
| OKLab | oklab(28.95% 0.0033 -0.1381) |
| OKLCH | oklch(28.95% 0.138 271.3) |
| XYZ | xyz(3.5821, 2.1381, 14.9727) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.12
Darkblue (survey)
#030764
ΔE00 5.00
Dark Royal Blue
#02066F
ΔE00 5.08
Deep Blue
#040273
ΔE00 5.84
Royal
#0C1793
ΔE00 5.97
Dark Blue
#00035B
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171C6E #6E6917
analogous
#17476E #171C6E #3D176E
triadic
#171C6E #6E171C #1C6E17
tetradic
#171C6E #6E1747 #6E6917 #176E3D
square
#171C6E #6E1747 #6E6917 #176E3D
split-complementary
#171C6E #6E3D17 #476E17
monochromatic
#050619 #0C0F3B #171C6E #2229A1 #2C36D3
Accessibility & contrast
On white
14.71
#171C6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#171C6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171C6E
14.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171C6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171C6E | 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)
#002C70
Deuteranopia (green-blind)
#00246D
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #171c6e; /* rgb */ color: rgb(23, 28, 110); /* oklch */ color: oklch(29.0% 0.138 271.3);
Tailwind
colors: {
custom: {
50: '#645999',
500: '#171c6e',
950: '#000000',
},
}SCSS
$custom: #171c6e; $custom-light: #645999; $custom-dark: #000000;
JSON
{
"hex": "#171c6e",
"rgb": {
"r": 23,
"g": 28,
"b": 110
},
"hsl": {
"h": 236.552,
"s": 65.414,
"l": 26.078
},
"oklch": {
"l": 0.28953,
"c": 0.13816,
"h": 271.3
},
"luminance": 0.02138
}Semantic roles & 50–950 ramp
primary
#171C6E
secondary
#A49E3D
accent
#DF3FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E