#171672#171672
#171672 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.150 H 272.0°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).
Color values
| HEX | #171672 |
|---|---|
| RGB | rgb(23, 22, 114) |
| HSL | hsl(241, 68%, 27%) |
| HSV | hsv(241, 81%, 45%) |
| CMYK | cmyk(79.8%, 80.7%, 0%, 55.3%) |
| CIE-LAB | lab(15.33, 34.05, -51.75) |
| CIE-LCH | lch(15.33, 61.94, 303.34°) |
| OKLab | oklab(28.48% 0.0053 -0.1498) |
| OKLCH | oklch(28.48% 0.15 272) |
| XYZ | xyz(3.6765, 1.9705, 16.1029) |
| Luminance | 0.0197 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.91
Dark Royal Blue
#02066F
ΔE00 3.35
Darkblue (survey)
#030764
ΔE00 3.74
Deep Blue
#040273
ΔE00 3.98
Navy
#000080
ΔE00 4.65
Royal
#0C1793
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171672 #717216
analogous
#164372 #171672 #451672
triadic
#171672 #721716 #167217
tetradic
#171672 #721643 #717216 #167245
square
#171672 #721643 #717216 #167245
split-complementary
#171672 #724516 #437216
monochromatic
#05051A #0D0C3F #171672 #2120A5 #2E2CD6
Accessibility & contrast
On white
15.06
#171672 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#171672 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171672
15.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171672 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171672 | 1.00 | 15.06 | 1.39 | 15.06 |
| #FFFFFF | 15.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #171672; /* rgb */ color: rgb(23, 22, 114); /* oklch */ color: oklch(28.5% 0.150 272.0);
Tailwind
colors: {
custom: {
50: '#66559c',
500: '#171672',
950: '#000000',
},
}SCSS
$custom: #171672; $custom-light: #66559c; $custom-dark: #000000;
JSON
{
"hex": "#171672",
"rgb": {
"r": 23,
"g": 22,
"b": 114
},
"hsl": {
"h": 240.652,
"s": 67.647,
"l": 26.667
},
"oklch": {
"l": 0.28475,
"c": 0.14987,
"h": 272
},
"luminance": 0.01971
}Semantic roles & 50–950 ramp
primary
#171672
secondary
#A7A83C
accent
#EB3DE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E