#5A4EE0#5A4EE0
#5A4EE0 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.213 H 279.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4EE0 |
|---|---|
| RGB | rgb(90, 78, 224) |
| HSL | hsl(245, 70%, 59%) |
| HSV | hsv(245, 65%, 88%) |
| CMYK | cmyk(59.8%, 65.2%, 0%, 12.2%) |
| CIE-LAB | lab(42.77, 46.01, -72.87) |
| CIE-LCH | lch(42.77, 86.18, 302.27°) |
| OKLab | oklab(52.6% 0.0364 -0.2099) |
| OKLCH | oklch(52.6% 0.213 279.8) |
| XYZ | xyz(20.3911, 13.0028, 71.9418) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.64
Purpleish Blue
#6140EF
ΔE00 3.67
Slate Blue
#6A5ACD
ΔE00 4.64
Iris
#6258C4
ΔE00 4.75
Light Indigo
#6D5ACF
ΔE00 4.77
Bluey Purple
#6241C7
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4EE0 #D4E04E
analogous
#4E8BE0 #5A4EE0 #A34EE0
triadic
#5A4EE0 #E05A4E #4EE05A
tetradic
#5A4EE0 #E04E8B #D4E04E #4EE0A3
square
#5A4EE0 #E04E8B #D4E04E #4EE0A3
split-complementary
#5A4EE0 #E0A34E #8BE04E
monochromatic
#251B99 #3224CD #5A4EE0 #8B82E9 #BBB6F2
Accessibility & contrast
On white
5.83
#5A4EE0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#5A4EE0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4EE0
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4EE0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4EE0 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE5
Deuteranopia (green-blind)
#005FDD
Tritanopia (blue-blind)
#007390
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5a4ee0; /* rgb */ color: rgb(90, 78, 224); /* oklch */ color: oklch(52.6% 0.213 279.8);
Tailwind
colors: {
custom: {
50: '#9681eb',
500: '#5a4ee0',
950: '#000000',
},
}SCSS
$custom: #5a4ee0; $custom-light: #9681eb; $custom-dark: #000000;
JSON
{
"hex": "#5a4ee0",
"rgb": {
"r": 90,
"g": 78,
"b": 224
},
"hsl": {
"h": 244.932,
"s": 70.192,
"l": 59.216
},
"oklch": {
"l": 0.52596,
"c": 0.21299,
"h": 279.8
},
"luminance": 0.13004
}Semantic roles & 50–950 ramp
primary
#5A4EE0
secondary
#DDE1A8
accent
#ED3BDE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84