#171A6F#171A6F
#171A6F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.7% C 0.142 H 271.7°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).
Color values
| HEX | #171A6F |
|---|---|
| RGB | rgb(23, 26, 111) |
| HSL | hsl(238, 66%, 26%) |
| HSV | hsv(238, 79%, 44%) |
| CMYK | cmyk(79.3%, 76.6%, 0%, 56.5%) |
| CIE-LAB | lab(15.84, 30.53, -48.96) |
| CIE-LCH | lch(15.84, 57.69, 301.95°) |
| OKLab | oklab(28.73% 0.0041 -0.1417) |
| OKLCH | oklch(28.73% 0.142 271.7) |
| XYZ | xyz(3.5910, 2.0683, 15.2458) |
| Luminance | 0.0207 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.48
Dark Royal Blue
#02066F
ΔE00 4.46
Darkblue (survey)
#030764
ΔE00 4.48
Deep Blue
#040273
ΔE00 5.19
Royal
#0C1793
ΔE00 5.60
Dark Blue
#00035B
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171A6F #6F6C17
analogous
#17466F #171A6F #40176F
triadic
#171A6F #6F171A #1A6F17
tetradic
#171A6F #6F1746 #6F6C17 #176F40
square
#171A6F #6F1746 #6F6C17 #176F40
split-complementary
#171A6F #6F4017 #466F17
monochromatic
#050619 #0C0E3C #171A6F #2226A2 #2D33D3
Accessibility & contrast
On white
14.85
#171A6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#171A6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171A6F
14.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171A6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171A6F | 1.00 | 14.85 | 1.41 | 14.85 |
| #FFFFFF | 14.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C71
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #171a6f; /* rgb */ color: rgb(23, 26, 111); /* oklch */ color: oklch(28.7% 0.142 271.7);
Tailwind
colors: {
custom: {
50: '#655799',
500: '#171a6f',
950: '#000000',
},
}SCSS
$custom: #171a6f; $custom-light: #655799; $custom-dark: #000000;
JSON
{
"hex": "#171a6f",
"rgb": {
"r": 23,
"g": 26,
"b": 111
},
"hsl": {
"h": 237.955,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.28733,
"c": 0.14177,
"h": 271.7
},
"luminance": 0.02069
}Semantic roles & 50–950 ramp
primary
#171A6F
secondary
#A5A13D
accent
#E33FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E