#171C90#171C90
#171C90 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.182 H 269.2°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).
Color values
| HEX | #171C90 |
|---|---|
| RGB | rgb(23, 28, 144) |
| HSL | hsl(238, 72%, 33%) |
| HSV | hsv(238, 84%, 56%) |
| CMYK | cmyk(84%, 80.6%, 0%, 43.5%) |
| CIE-LAB | lab(20.15, 41.06, -62.80) |
| CIE-LCH | lch(20.15, 75.03, 303.18°) |
| OKLab | oklab(32.92% -0.0026 -0.1819) |
| OKLCH | oklch(32.92% 0.182 269.2) |
| XYZ | xyz(5.8009, 3.0256, 26.6584) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.19
Cobalt Blue
#030AA7
ΔE00 4.04
Royal Blue (survey)
#0504AA
ΔE00 4.65
Darkblue
#00008B
ΔE00 4.69
Midnight Blue
#191970
ΔE00 4.88
Navy
#000080
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171C90 #908B17
analogous
#175890 #171C90 #4F1790
triadic
#171C90 #90171C #1C9017
tetradic
#171C90 #901758 #908B17 #17904F
square
#171C90 #901758 #908B17 #17904F
split-complementary
#171C90 #904F17 #589017
monochromatic
#060726 #0F125B #171C90 #1F26C5 #4147E1
Accessibility & contrast
On white
13.08
#171C90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#171C90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171C90
13.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171C90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171C90 | 1.00 | 13.08 | 1.61 | 13.08 |
| #FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002A8E
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #171c90; /* rgb */ color: rgb(23, 28, 144); /* oklch */ color: oklch(32.9% 0.182 269.2);
Tailwind
colors: {
custom: {
50: '#6e5bb2',
500: '#171c90',
950: '#000000',
},
}SCSS
$custom: #171c90; $custom-light: #6e5bb2; $custom-dark: #000000;
JSON
{
"hex": "#171c90",
"rgb": {
"r": 23,
"g": 28,
"b": 144
},
"hsl": {
"h": 237.521,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.32917,
"c": 0.18193,
"h": 269.2
},
"luminance": 0.03026
}Semantic roles & 50–950 ramp
primary
#171C90
secondary
#C1BC42
accent
#E839EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980