#171A6E#171A6E
#171A6E is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.140 H 271.8°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).
Color values
| HEX | #171A6E |
|---|---|
| RGB | rgb(23, 26, 110) |
| HSL | hsl(238, 65%, 26%) |
| HSV | hsv(238, 79%, 43%) |
| CMYK | cmyk(79.1%, 76.4%, 0%, 56.9%) |
| CIE-LAB | lab(15.73, 30.16, -48.49) |
| CIE-LCH | lch(15.73, 57.10, 301.88°) |
| OKLab | oklab(28.62% 0.0043 -0.1404) |
| OKLCH | oklch(28.62% 0.14 271.8) |
| XYZ | xyz(3.5363, 2.0464, 14.9574) |
| Luminance | 0.0205 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.59
Darkblue (survey)
#030764
ΔE00 4.47
Dark Royal Blue
#02066F
ΔE00 4.51
Deep Blue
#040273
ΔE00 5.27
Royal
#0C1793
ΔE00 5.77
Dark Blue
#00035B
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171A6E #6E6B17
analogous
#17456E #171A6E #3F176E
triadic
#171A6E #6E171A #1A6E17
tetradic
#171A6E #6E1745 #6E6B17 #176E3F
square
#171A6E #6E1745 #6E6B17 #176E3F
split-complementary
#171A6E #6E3F17 #456E17
monochromatic
#050619 #0C0E3B #171A6E #2226A1 #2C32D3
Accessibility & contrast
On white
14.90
#171A6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#171A6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171A6E
14.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171A6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171A6E | 1.00 | 14.90 | 1.41 | 14.90 |
| #FFFFFF | 14.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B70
Deuteranopia (green-blind)
#00236C
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #171a6e; /* rgb */ color: rgb(23, 26, 110); /* oklch */ color: oklch(28.6% 0.140 271.8);
Tailwind
colors: {
custom: {
50: '#655799',
500: '#171a6e',
950: '#000000',
},
}SCSS
$custom: #171a6e; $custom-light: #655799; $custom-dark: #000000;
JSON
{
"hex": "#171a6e",
"rgb": {
"r": 23,
"g": 26,
"b": 110
},
"hsl": {
"h": 237.931,
"s": 65.414,
"l": 26.078
},
"oklch": {
"l": 0.28619,
"c": 0.14043,
"h": 271.8
},
"luminance": 0.02047
}Semantic roles & 50–950 ramp
primary
#171A6E
secondary
#A4A03D
accent
#E33FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E