#171E6F#171E6F
#171E6F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.4% C 0.137 H 270.8°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).
Color values
| HEX | #171E6F |
|---|---|
| RGB | rgb(23, 30, 111) |
| HSL | hsl(235, 66%, 26%) |
| HSV | hsv(235, 79%, 44%) |
| CMYK | cmyk(79.3%, 73%, 0%, 56.5%) |
| CIE-LAB | lab(16.79, 27.92, -47.40) |
| CIE-LCH | lch(16.79, 55.01, 300.50°) |
| OKLab | oklab(29.41% 0.002 -0.1372) |
| OKLCH | oklch(29.41% 0.137 270.8) |
| XYZ | xyz(3.6859, 2.2580, 15.2774) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.64
Darkblue (survey)
#030764
ΔE00 5.57
Dark Royal Blue
#02066F
ΔE00 5.62
Royal
#0C1793
ΔE00 6.05
Deep Blue
#040273
ΔE00 6.37
Dark Indigo
#1F0954
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171E6F #6F6817
analogous
#174A6F #171E6F #3C176F
triadic
#171E6F #6F171E #1E6F17
tetradic
#171E6F #6F174A #6F6817 #176F3C
square
#171E6F #6F174A #6F6817 #176F3C
split-complementary
#171E6F #6F3C17 #4A6F17
monochromatic
#050719 #0C103C #171E6F #222CA2 #2D3AD3
Accessibility & contrast
On white
14.47
#171E6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#171E6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171E6F
14.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171E6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171E6F | 1.00 | 14.47 | 1.45 | 14.47 |
| #FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#00256E
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #171e6f; /* rgb */ color: rgb(23, 30, 111); /* oklch */ color: oklch(29.4% 0.137 270.8);
Tailwind
colors: {
custom: {
50: '#645a99',
500: '#171e6f',
950: '#000000',
},
}SCSS
$custom: #171e6f; $custom-light: #645a99; $custom-dark: #000000;
JSON
{
"hex": "#171e6f",
"rgb": {
"r": 23,
"g": 30,
"b": 111
},
"hsl": {
"h": 235.227,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.29411,
"c": 0.13719,
"h": 270.8
},
"luminance": 0.02258
}Semantic roles & 50–950 ramp
primary
#171E6F
secondary
#A59D3D
accent
#DB3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E