#5A4FD9#5A4FD9
#5A4FD9 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.2% C 0.203 H 280.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4FD9 |
|---|---|
| RGB | rgb(90, 79, 217) |
| HSL | hsl(245, 64%, 58%) |
| HSV | hsv(245, 64%, 85%) |
| CMYK | cmyk(58.5%, 63.6%, 0%, 14.9%) |
| CIE-LAB | lab(42.42, 43.25, -69.44) |
| CIE-LCH | lch(42.42, 81.81, 301.91°) |
| OKLab | oklab(52.17% 0.0362 -0.1998) |
| OKLCH | oklch(52.17% 0.203 280.3) |
| XYZ | xyz(19.5329, 12.7740, 67.0685) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.39
Iris
#6258C4
ΔE00 3.98
Slate Blue
#6A5ACD
ΔE00 4.16
Purpleish Blue
#6140EF
ΔE00 4.35
Light Indigo
#6D5ACF
ΔE00 4.38
Bluey Purple
#6241C7
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4FD9 #CED94F
analogous
#4F89D9 #5A4FD9 #9F4FD9
triadic
#5A4FD9 #D95A4F #4FD95A
tetradic
#5A4FD9 #D94F89 #CED94F #4FD99F
square
#5A4FD9 #D94F89 #CED94F #4FD99F
split-complementary
#5A4FD9 #D99F4F #89D94F
monochromatic
#281F8F #362AC1 #5A4FD9 #8981E4 #B8B4EF
Accessibility & contrast
On white
5.91
#5A4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#5A4FD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4FD9
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4FD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4FD9 | 1.00 | 5.91 | 3.56 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#005FD6
Tritanopia (blue-blind)
#00728D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5a4fd9; /* rgb */ color: rgb(90, 79, 217); /* oklch */ color: oklch(52.2% 0.203 280.3);
Tailwind
colors: {
custom: {
50: '#9581e6',
500: '#5a4fd9',
950: '#000000',
},
}SCSS
$custom: #5a4fd9; $custom-light: #9581e6; $custom-dark: #000000;
JSON
{
"hex": "#5a4fd9",
"rgb": {
"r": 90,
"g": 79,
"b": 217
},
"hsl": {
"h": 244.783,
"s": 64.486,
"l": 58.039
},
"oklch": {
"l": 0.5217,
"c": 0.20306,
"h": 280.3
},
"luminance": 0.12775
}Semantic roles & 50–950 ramp
primary
#5A4FD9
secondary
#D9DDA6
accent
#E740DA
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84