#171673#171673
#171673 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.151 H 271.9°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).
Color values
| HEX | #171673 |
|---|---|
| RGB | rgb(23, 22, 115) |
| HSL | hsl(241, 68%, 27%) |
| HSV | hsv(241, 81%, 45%) |
| CMYK | cmyk(80%, 80.9%, 0%, 54.9%) |
| CIE-LAB | lab(15.45, 34.40, -52.19) |
| CIE-LCH | lch(15.45, 62.51, 303.39°) |
| OKLab | oklab(28.6% 0.0051 -0.1511) |
| OKLCH | oklch(28.6% 0.151 271.9) |
| XYZ | xyz(3.7337, 1.9934, 16.4043) |
| Luminance | 0.0199 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.01
Dark Royal Blue
#02066F
ΔE00 3.34
Darkblue (survey)
#030764
ΔE00 3.81
Deep Blue
#040273
ΔE00 3.94
Navy
#000080
ΔE00 4.55
Royal
#0C1793
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171673 #727316
analogous
#164473 #171673 #461673
triadic
#171673 #731716 #167317
tetradic
#171673 #731644 #727316 #167346
square
#171673 #731644 #727316 #167346
split-complementary
#171673 #734616 #447316
monochromatic
#05051A #0D0C40 #171673 #2120A6 #2E2DD7
Accessibility & contrast
On white
15.01
#171673 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#171673 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171673
15.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171673 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171673 | 1.00 | 15.01 | 1.40 | 15.01 |
| #FFFFFF | 15.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B76
Deuteranopia (green-blind)
#002271
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #171673; /* rgb */ color: rgb(23, 22, 115); /* oklch */ color: oklch(28.6% 0.151 271.9);
Tailwind
colors: {
custom: {
50: '#66559c',
500: '#171673',
950: '#000000',
},
}SCSS
$custom: #171673; $custom-light: #66559c; $custom-dark: #000000;
JSON
{
"hex": "#171673",
"rgb": {
"r": 23,
"g": 22,
"b": 115
},
"hsl": {
"h": 240.645,
"s": 67.883,
"l": 26.863
},
"oklch": {
"l": 0.28596,
"c": 0.15117,
"h": 271.9
},
"luminance": 0.01994
}Semantic roles & 50–950 ramp
primary
#171673
secondary
#A8A93C
accent
#EB3DE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E