#171D5C#171D5C
#171D5C is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.2% C 0.111 H 272.3°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).
Color values
| HEX | #171D5C |
|---|---|
| RGB | rgb(23, 29, 92) |
| HSL | hsl(235, 60%, 23%) |
| HSV | hsv(235, 75%, 36%) |
| CMYK | cmyk(75%, 68.5%, 0%, 63.9%) |
| CIE-LAB | lab(14.59, 21.17, -38.49) |
| CIE-LCH | lch(14.59, 43.93, 298.81°) |
| OKLab | oklab(27.22% 0.0046 -0.1111) |
| OKLCH | oklch(27.22% 0.111 272.3) |
| XYZ | xyz(2.7238, 1.8333, 10.3335) |
| Luminance | 0.0183 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.39
Navy Blue (survey)
#001146
ΔE00 4.66
Dark Indigo
#1F0954
ΔE00 6.16
Navy (survey)
#01153E
ΔE00 6.18
Darkblue (survey)
#030764
ΔE00 6.54
Night Blue
#040348
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171D5C #5C5617
analogous
#173F5C #171D5C #34175C
triadic
#171D5C #5C171D #1D5C17
tetradic
#171D5C #5C173F #5C5617 #175C34
square
#171D5C #5C173F #5C5617 #175C34
split-complementary
#171D5C #5C3417 #3F5C17
monochromatic
#060818 #0B0E2B #171D5C #232C8D #2F3CBE
Accessibility & contrast
On white
15.36
#171D5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#171D5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171D5C
15.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171D5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171D5C | 1.00 | 15.36 | 1.37 | 15.36 |
| #FFFFFF | 15.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00225B
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #171d5c; /* rgb */ color: rgb(23, 29, 92); /* oklch */ color: oklch(27.2% 0.111 272.3);
Tailwind
colors: {
custom: {
50: '#5f598b',
500: '#171d5c',
950: '#000000',
},
}SCSS
$custom: #171d5c; $custom-light: #5f598b; $custom-dark: #000000;
JSON
{
"hex": "#171d5c",
"rgb": {
"r": 23,
"g": 29,
"b": 92
},
"hsl": {
"h": 234.783,
"s": 60,
"l": 22.549
},
"oklch": {
"l": 0.27219,
"c": 0.11123,
"h": 272.3
},
"luminance": 0.01834
}Semantic roles & 50–950 ramp
primary
#171D5C
secondary
#938B3C
accent
#D545E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D