#5A4AEE#5A4AEE
#5A4AEE is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 53.2% C 0.234 H 279.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4AEE |
|---|---|
| RGB | rgb(90, 74, 238) |
| HSL | hsl(246, 83%, 61%) |
| HSV | hsv(246, 69%, 93%) |
| CMYK | cmyk(62.2%, 68.9%, 0%, 6.7%) |
| CIE-LAB | lab(43.13, 52.57, -80.22) |
| CIE-LCH | lch(43.13, 95.91, 303.24°) |
| OKLab | oklab(53.22% 0.0375 -0.2314) |
| OKLCH | oklch(53.22% 0.234 279.2) |
| XYZ | xyz(22.0929, 13.2425, 82.2642) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.39
Bluish Purple
#703BE7
ΔE00 4.42
Warm Blue
#4B57DB
ΔE00 4.92
Purpley Blue
#5F34E7
ΔE00 4.97
Burple
#6832E3
ΔE00 5.62
Electric Blue
#0652FF
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4AEE #DEEE4A
analogous
#4A8CEE #5A4AEE #AC4AEE
triadic
#5A4AEE #EE5A4A #4AEE5A
tetradic
#5A4AEE #EE4A8C #DEEE4A #4AEEAC
square
#5A4AEE #EE4A8C #DEEE4A #4AEEAC
split-complementary
#5A4AEE #EEAC4A #8CEE4A
monochromatic
#2010AD #2A16E5 #5A4AEE #8D82F3 #C0BAF9
Accessibility & contrast
On white
5.76
#5A4AEE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#5A4AEE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4AEE
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4AEE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4AEE | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CF3
Deuteranopia (green-blind)
#005FEB
Tritanopia (blue-blind)
#007697
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5a4aee; /* rgb */ color: rgb(90, 74, 238); /* oklch */ color: oklch(53.2% 0.234 279.2);
Tailwind
colors: {
custom: {
50: '#997ef5',
500: '#5a4aee',
950: '#000000',
},
}SCSS
$custom: #5a4aee; $custom-light: #997ef5; $custom-dark: #000000;
JSON
{
"hex": "#5a4aee",
"rgb": {
"r": 90,
"g": 74,
"b": 238
},
"hsl": {
"h": 245.854,
"s": 82.828,
"l": 61.176
},
"oklch": {
"l": 0.53219,
"c": 0.2344,
"h": 279.2
},
"luminance": 0.13244
}Semantic roles & 50–950 ramp
primary
#5A4AEE
secondary
#E3E9AB
accent
#DF06CA
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A17
muted
#7F7C85