#5A4EE8#5A4EE8
#5A4EE8 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.3% C 0.223 H 279.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4EE8 |
|---|---|
| RGB | rgb(90, 78, 232) |
| HSL | hsl(245, 77%, 61%) |
| HSV | hsv(245, 66%, 91%) |
| CMYK | cmyk(61.2%, 66.4%, 0%, 9%) |
| CIE-LAB | lab(43.43, 48.50, -76.33) |
| CIE-LCH | lch(43.43, 90.43, 302.43°) |
| OKLab | oklab(53.28% 0.0354 -0.22) |
| OKLCH | oklch(53.28% 0.223 279.2) |
| XYZ | xyz(21.5017, 13.4470, 77.7907) |
| Luminance | 0.1345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.37
Warm Blue
#4B57DB
ΔE00 3.92
Slate Blue
#6A5ACD
ΔE00 5.10
Light Indigo
#6D5ACF
ΔE00 5.15
Bluish Purple
#703BE7
ΔE00 5.15
Iris
#6258C4
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4EE8 #DCE84E
analogous
#4E8FE8 #5A4EE8 #A74EE8
triadic
#5A4EE8 #E85A4E #4EE85A
tetradic
#5A4EE8 #E84E8F #DCE84E #4EE8A7
square
#5A4EE8 #E84E8F #DCE84E #4EE8A7
split-complementary
#5A4EE8 #E8A74E #8FE84E
monochromatic
#2116A6 #2C1DDC #5A4EE8 #8C84EF #BFBAF6
Accessibility & contrast
On white
5.69
#5A4EE8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#5A4EE8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4EE8
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4EE8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4EE8 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DED
Deuteranopia (green-blind)
#0060E5
Tritanopia (blue-blind)
#007695
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5a4ee8; /* rgb */ color: rgb(90, 78, 232); /* oklch */ color: oklch(53.3% 0.223 279.2);
Tailwind
colors: {
custom: {
50: '#9781f0',
500: '#5a4ee8',
950: '#000000',
},
}SCSS
$custom: #5a4ee8; $custom-light: #9781f0; $custom-dark: #000000;
JSON
{
"hex": "#5a4ee8",
"rgb": {
"r": 90,
"g": 78,
"b": 232
},
"hsl": {
"h": 244.675,
"s": 77,
"l": 60.784
},
"oklch": {
"l": 0.53279,
"c": 0.22284,
"h": 279.2
},
"luminance": 0.13449
}Semantic roles & 50–950 ramp
primary
#5A4EE8
secondary
#E2E6AC
accent
#D90CC9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85