#171972#171972
#171972 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.147 H 271.6°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).
Color values
| HEX | #171972 |
|---|---|
| RGB | rgb(23, 25, 114) |
| HSL | hsl(239, 66%, 27%) |
| HSV | hsv(239, 80%, 45%) |
| CMYK | cmyk(79.8%, 78.1%, 0%, 55.3%) |
| CIE-LAB | lab(15.96, 32.25, -50.70) |
| CIE-LCH | lch(15.96, 60.09, 302.46°) |
| OKLab | oklab(28.92% 0.0041 -0.1468) |
| OKLCH | oklch(28.92% 0.147 271.6) |
| XYZ | xyz(3.7372, 2.0919, 16.1231) |
| Luminance | 0.0209 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.39
Dark Royal Blue
#02066F
ΔE00 4.08
Darkblue (survey)
#030764
ΔE00 4.34
Deep Blue
#040273
ΔE00 4.74
Royal
#0C1793
ΔE00 5.03
Navy
#000080
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171972 #727017
analogous
#174772 #171972 #431772
triadic
#171972 #721719 #197217
tetradic
#171972 #721747 #727017 #177243
square
#171972 #721747 #727017 #177243
split-complementary
#171972 #724317 #477217
monochromatic
#050619 #0D0E3F #171972 #2124A5 #2E32D5
Accessibility & contrast
On white
14.81
#171972 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#171972 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171972
14.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171972 | 1.00 | 14.81 | 1.42 | 14.81 |
| #FFFFFF | 14.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002370
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #171972; /* rgb */ color: rgb(23, 25, 114); /* oklch */ color: oklch(28.9% 0.147 271.6);
Tailwind
colors: {
custom: {
50: '#66579c',
500: '#171972',
950: '#000000',
},
}SCSS
$custom: #171972; $custom-light: #66579c; $custom-dark: #000000;
JSON
{
"hex": "#171972",
"rgb": {
"r": 23,
"g": 25,
"b": 114
},
"hsl": {
"h": 238.681,
"s": 66.423,
"l": 26.863
},
"oklch": {
"l": 0.28921,
"c": 0.14685,
"h": 271.6
},
"luminance": 0.02092
}Semantic roles & 50–950 ramp
primary
#171972
secondary
#A8A53D
accent
#E63EE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E