#171C6F#171C6F
#171C6F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.1% C 0.140 H 271.3°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).
Color values
| HEX | #171C6F |
|---|---|
| RGB | rgb(23, 28, 111) |
| HSL | hsl(237, 66%, 26%) |
| HSV | hsv(237, 79%, 44%) |
| CMYK | cmyk(79.3%, 74.8%, 0%, 56.5%) |
| CIE-LAB | lab(16.31, 29.24, -48.19) |
| CIE-LCH | lch(16.31, 56.37, 301.25°) |
| OKLab | oklab(29.07% 0.0031 -0.1395) |
| OKLCH | oklch(29.07% 0.14 271.3) |
| XYZ | xyz(3.6369, 2.1600, 15.2611) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.03
Darkblue (survey)
#030764
ΔE00 5.01
Dark Royal Blue
#02066F
ΔE00 5.03
Deep Blue
#040273
ΔE00 5.77
Royal
#0C1793
ΔE00 5.80
Dark Blue
#00035B
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171C6F #6F6A17
analogous
#17486F #171C6F #3E176F
triadic
#171C6F #6F171C #1C6F17
tetradic
#171C6F #6F1748 #6F6A17 #176F3E
square
#171C6F #6F1748 #6F6A17 #176F3E
split-complementary
#171C6F #6F3E17 #486F17
monochromatic
#050619 #0C0F3C #171C6F #2229A2 #2D36D3
Accessibility & contrast
On white
14.66
#171C6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#171C6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171C6F
14.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171C6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171C6F | 1.00 | 14.66 | 1.43 | 14.66 |
| #FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D71
Deuteranopia (green-blind)
#00246D
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #171c6f; /* rgb */ color: rgb(23, 28, 111); /* oklch */ color: oklch(29.1% 0.140 271.3);
Tailwind
colors: {
custom: {
50: '#655999',
500: '#171c6f',
950: '#000000',
},
}SCSS
$custom: #171c6f; $custom-light: #655999; $custom-dark: #000000;
JSON
{
"hex": "#171c6f",
"rgb": {
"r": 23,
"g": 28,
"b": 111
},
"hsl": {
"h": 236.591,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.29065,
"c": 0.13952,
"h": 271.3
},
"luminance": 0.0216
}Semantic roles & 50–950 ramp
primary
#171C6F
secondary
#A59F3D
accent
#DF3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E