#171D6C#171D6C
#171D6C is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.134 H 271.3°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).
Color values
| HEX | #171D6C |
|---|---|
| RGB | rgb(23, 29, 108) |
| HSL | hsl(236, 65%, 26%) |
| HSV | hsv(236, 79%, 42%) |
| CMYK | cmyk(78.7%, 73.1%, 0%, 57.6%) |
| CIE-LAB | lab(16.22, 27.44, -46.38) |
| CIE-LCH | lch(16.22, 53.88, 300.61°) |
| OKLab | oklab(28.91% 0.003 -0.1342) |
| OKLCH | oklch(28.91% 0.134 271.3) |
| XYZ | xyz(3.4986, 2.1432, 14.4138) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.64
Darkblue (survey)
#030764
ΔE00 5.31
Dark Royal Blue
#02066F
ΔE00 5.52
Deep Blue
#040273
ΔE00 6.31
Dark Indigo
#1F0954
ΔE00 6.41
Royal
#0C1793
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171D6C #6C6617
analogous
#17476C #171D6C #3B176C
triadic
#171D6C #6C171D #1D6C17
tetradic
#171D6C #6C1747 #6C6617 #176C3B
square
#171D6C #6C1747 #6C6617 #176C3B
split-complementary
#171D6C #6C3B17 #476C17
monochromatic
#050719 #0C0F3A #171D6C #222B9E #2C38D1
Accessibility & contrast
On white
14.70
#171D6C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#171D6C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171D6C
14.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171D6C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171D6C | 1.00 | 14.70 | 1.43 | 14.70 |
| #FFFFFF | 14.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C6E
Deuteranopia (green-blind)
#00246B
Tritanopia (blue-blind)
#003342
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #171d6c; /* rgb */ color: rgb(23, 29, 108); /* oklch */ color: oklch(28.9% 0.134 271.3);
Tailwind
colors: {
custom: {
50: '#645997',
500: '#171d6c',
950: '#000000',
},
}SCSS
$custom: #171d6c; $custom-light: #645997; $custom-dark: #000000;
JSON
{
"hex": "#171d6c",
"rgb": {
"r": 23,
"g": 29,
"b": 108
},
"hsl": {
"h": 235.765,
"s": 64.885,
"l": 25.686
},
"oklch": {
"l": 0.28907,
"c": 0.13423,
"h": 271.3
},
"luminance": 0.02144
}Semantic roles & 50–950 ramp
primary
#171D6C
secondary
#A29B3D
accent
#DC40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E