#5A4DD9#5A4DD9
#5A4DD9 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.9% C 0.205 H 280.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4DD9 |
|---|---|
| RGB | rgb(90, 77, 217) |
| HSL | hsl(246, 65%, 58%) |
| HSV | hsv(246, 65%, 85%) |
| CMYK | cmyk(58.5%, 64.5%, 0%, 14.9%) |
| CIE-LAB | lab(41.98, 44.41, -70.16) |
| CIE-LCH | lch(41.98, 83.03, 302.34°) |
| OKLab | oklab(51.85% 0.038 -0.2019) |
| OKLCH | oklch(51.85% 0.205 280.6) |
| XYZ | xyz(19.3908, 12.4898, 67.0212) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.84
Purpleish Blue
#6140EF
ΔE00 3.96
Iris
#6258C4
ΔE00 4.33
Bluey Purple
#6241C7
ΔE00 4.36
Slate Blue
#6A5ACD
ΔE00 4.54
Light Indigo
#6D5ACF
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4DD9 #CCD94D
analogous
#4D86D9 #5A4DD9 #A04DD9
triadic
#5A4DD9 #D95A4D #4DD95A
tetradic
#5A4DD9 #D94D86 #CCD94D #4DD9A0
square
#5A4DD9 #D94D86 #CCD94D #4DD9A0
split-complementary
#5A4DD9 #D9A04D #86D94D
monochromatic
#291E8D #3729C0 #5A4DD9 #897FE4 #B7B2EF
Accessibility & contrast
On white
6.00
#5A4DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#5A4DD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4DD9
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4DD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4DD9 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#00708C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5a4dd9; /* rgb */ color: rgb(90, 77, 217); /* oklch */ color: oklch(51.9% 0.205 280.6);
Tailwind
colors: {
custom: {
50: '#9580e6',
500: '#5a4dd9',
950: '#000000',
},
}SCSS
$custom: #5a4dd9; $custom-light: #9580e6; $custom-dark: #000000;
JSON
{
"hex": "#5a4dd9",
"rgb": {
"r": 90,
"g": 77,
"b": 217
},
"hsl": {
"h": 245.571,
"s": 64.815,
"l": 57.647
},
"oklch": {
"l": 0.51852,
"c": 0.20544,
"h": 280.6
},
"luminance": 0.12491
}Semantic roles & 50–950 ramp
primary
#5A4DD9
secondary
#D8DDA5
accent
#E840D8
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84