#171D6F#171D6F
#171D6F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.138 H 271.1°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).
Color values
| HEX | #171D6F |
|---|---|
| RGB | rgb(23, 29, 111) |
| HSL | hsl(236, 66%, 26%) |
| HSV | hsv(236, 79%, 44%) |
| CMYK | cmyk(79.3%, 73.9%, 0%, 56.5%) |
| CIE-LAB | lab(16.54, 28.58, -47.80) |
| CIE-LCH | lch(16.54, 55.69, 300.88°) |
| OKLab | oklab(29.24% 0.0026 -0.1383) |
| OKLCH | oklch(29.24% 0.138 271.1) |
| XYZ | xyz(3.6610, 2.2082, 15.2691) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.33
Darkblue (survey)
#030764
ΔE00 5.28
Dark Royal Blue
#02066F
ΔE00 5.32
Royal
#0C1793
ΔE00 5.91
Deep Blue
#040273
ΔE00 6.06
Dark Blue
#00035B
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171D6F #6F6917
analogous
#17496F #171D6F #3D176F
triadic
#171D6F #6F171D #1D6F17
tetradic
#171D6F #6F1749 #6F6917 #176F3D
square
#171D6F #6F1749 #6F6917 #176F3D
split-complementary
#171D6F #6F3D17 #496F17
monochromatic
#050719 #0C103C #171D6F #222AA2 #2D38D3
Accessibility & contrast
On white
14.57
#171D6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#171D6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171D6F
14.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171D6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171D6F | 1.00 | 14.57 | 1.44 | 14.57 |
| #FFFFFF | 14.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D71
Deuteranopia (green-blind)
#00256E
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #171d6f; /* rgb */ color: rgb(23, 29, 111); /* oklch */ color: oklch(29.2% 0.138 271.1);
Tailwind
colors: {
custom: {
50: '#645999',
500: '#171d6f',
950: '#000000',
},
}SCSS
$custom: #171d6f; $custom-light: #645999; $custom-dark: #000000;
JSON
{
"hex": "#171d6f",
"rgb": {
"r": 23,
"g": 29,
"b": 111
},
"hsl": {
"h": 235.909,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.29236,
"c": 0.13837,
"h": 271.1
},
"luminance": 0.02209
}Semantic roles & 50–950 ramp
primary
#171D6F
secondary
#A59E3D
accent
#DD3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E