#171479#171479
#171479 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.161 H 271.6°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).
Color values
| HEX | #171479 |
|---|---|
| RGB | rgb(23, 20, 121) |
| HSL | hsl(242, 72%, 28%) |
| HSV | hsv(242, 83%, 47%) |
| CMYK | cmyk(81%, 83.5%, 0%, 52.5%) |
| CIE-LAB | lab(15.81, 37.57, -55.46) |
| CIE-LCH | lch(15.81, 66.99, 304.11°) |
| OKLab | oklab(29.06% 0.0044 -0.1605) |
| OKLCH | oklch(29.06% 0.161 271.6) |
| XYZ | xyz(4.0535, 2.0625, 18.2699) |
| Luminance | 0.0206 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.10
Dark Royal Blue
#02066F
ΔE00 3.11
Deep Blue
#040273
ΔE00 3.45
Navy
#000080
ΔE00 3.65
Royal
#0C1793
ΔE00 3.81
Darkblue (survey)
#030764
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171479 #767914
analogous
#144479 #171479 #491479
triadic
#171479 #791714 #147917
tetradic
#171479 #791444 #767914 #147949
square
#171479 #791444 #767914 #147949
split-complementary
#171479 #794914 #447914
monochromatic
#05041A #0D0B44 #171479 #211DAE #312BDC
Accessibility & contrast
On white
14.87
#171479 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#171479 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171479
14.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171479 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171479 | 1.00 | 14.87 | 1.41 | 14.87 |
| #FFFFFF | 14.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C7C
Deuteranopia (green-blind)
#002277
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #171479; /* rgb */ color: rgb(23, 20, 121); /* oklch */ color: oklch(29.1% 0.161 271.6);
Tailwind
colors: {
custom: {
50: '#6854a1',
500: '#171479',
950: '#000000',
},
}SCSS
$custom: #171479; $custom-light: #6854a1; $custom-dark: #000000;
JSON
{
"hex": "#171479",
"rgb": {
"r": 23,
"g": 20,
"b": 121
},
"hsl": {
"h": 241.782,
"s": 71.631,
"l": 27.647
},
"oklch": {
"l": 0.29063,
"c": 0.16059,
"h": 271.6
},
"luminance": 0.02063
}Semantic roles & 50–950 ramp
primary
#171479
secondary
#ABAF3A
accent
#EE39E9
background
#F6F5FA
surface
#ECE8F3
border
#C7C4CD
text
#07030F
muted
#7A787F