#171875#171875
#171875 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.152 H 271.5°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).
Color values
| HEX | #171875 |
|---|---|
| RGB | rgb(23, 24, 117) |
| HSL | hsl(239, 67%, 27%) |
| HSV | hsv(239, 80%, 46%) |
| CMYK | cmyk(80.3%, 79.5%, 0%, 54.1%) |
| CIE-LAB | lab(16.10, 33.94, -52.41) |
| CIE-LCH | lch(16.10, 62.44, 302.92°) |
| OKLab | oklab(29.12% 0.0039 -0.1517) |
| OKLCH | oklch(29.12% 0.152 271.5) |
| XYZ | xyz(3.8898, 2.1194, 17.0302) |
| Luminance | 0.0212 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.93
Dark Royal Blue
#02066F
ΔE00 3.81
Darkblue (survey)
#030764
ΔE00 4.31
Deep Blue
#040273
ΔE00 4.38
Royal
#0C1793
ΔE00 4.48
Navy
#000080
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171875 #757417
analogous
#174775 #171875 #451775
triadic
#171875 #751718 #187517
tetradic
#171875 #751747 #757417 #177545
square
#171875 #751747 #757417 #177545
split-complementary
#171875 #754517 #477517
monochromatic
#05051A #0D0E42 #171875 #2122A8 #3032D6
Accessibility & contrast
On white
14.75
#171875 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#171875 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171875
14.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171875 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171875 | 1.00 | 14.75 | 1.42 | 14.75 |
| #FFFFFF | 14.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002373
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #171875; /* rgb */ color: rgb(23, 24, 117); /* oklch */ color: oklch(29.1% 0.152 271.5);
Tailwind
colors: {
custom: {
50: '#67569e',
500: '#171875',
950: '#000000',
},
}SCSS
$custom: #171875; $custom-light: #67569e; $custom-dark: #000000;
JSON
{
"hex": "#171875",
"rgb": {
"r": 23,
"g": 24,
"b": 117
},
"hsl": {
"h": 239.362,
"s": 67.143,
"l": 27.451
},
"oklch": {
"l": 0.29123,
"c": 0.15179,
"h": 271.5
},
"luminance": 0.0212
}Semantic roles & 50–950 ramp
primary
#171875
secondary
#AAA93D
accent
#E83EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E