#171380#171380
#171380 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.170 H 271.0°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).
Color values
| HEX | #171380 |
|---|---|
| RGB | rgb(23, 19, 128) |
| HSL | hsl(242, 74%, 29%) |
| HSV | hsv(242, 85%, 50%) |
| CMYK | cmyk(82%, 85.2%, 0%, 49.8%) |
| CIE-LAB | lab(16.53, 40.40, -58.74) |
| CIE-LCH | lch(16.53, 71.29, 304.52°) |
| OKLab | oklab(29.82% 0.003 -0.17) |
| OKLCH | oklch(29.82% 0.17 271) |
| XYZ | xyz(4.4812, 2.2059, 20.6075) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.82
Midnight Blue
#191970
ΔE00 3.12
Navy
#000080
ΔE00 3.20
Darkblue
#00008B
ΔE00 3.29
Dark Royal Blue
#02066F
ΔE00 3.55
Deep Blue
#040273
ΔE00 3.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171380 #7C8013
analogous
#134680 #171380 #4E1380
triadic
#171380 #801713 #138017
tetradic
#171380 #801346 #7C8013 #13804E
square
#171380 #801346 #7C8013 #13804E
split-complementary
#171380 #804E13 #468013
monochromatic
#05041B #0D0B4B #171380 #211BB5 #342DE0
Accessibility & contrast
On white
14.57
#171380 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#171380 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171380
14.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171380 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171380 | 1.00 | 14.57 | 1.44 | 14.57 |
| #FFFFFF | 14.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00237E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #171380; /* rgb */ color: rgb(23, 19, 128); /* oklch */ color: oklch(29.8% 0.170 271.0);
Tailwind
colors: {
custom: {
50: '#6a54a6',
500: '#171380',
950: '#000000',
},
}SCSS
$custom: #171380; $custom-light: #6a54a6; $custom-dark: #000000;
JSON
{
"hex": "#171380",
"rgb": {
"r": 23,
"g": 19,
"b": 128
},
"hsl": {
"h": 242.202,
"s": 74.15,
"l": 28.824
},
"oklch": {
"l": 0.29821,
"c": 0.17003,
"h": 271
},
"luminance": 0.02206
}Semantic roles & 50–950 ramp
primary
#171380
secondary
#B1B539
accent
#F137EA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F