#5A4FF5#5A4FF5
#5A4FF5 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.6% C 0.237 H 278.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4FF5 |
|---|---|
| RGB | rgb(90, 79, 245) |
| HSL | hsl(244, 89%, 64%) |
| HSV | hsv(244, 68%, 96%) |
| CMYK | cmyk(63.3%, 67.8%, 0%, 3.9%) |
| CIE-LAB | lab(44.74, 51.96, -81.50) |
| CIE-LCH | lch(44.74, 96.66, 302.52°) |
| OKLab | oklab(54.56% 0.033 -0.2352) |
| OKLCH | oklch(54.56% 0.237 278) |
| XYZ | xyz(23.4885, 14.3563, 87.9017) |
| Luminance | 0.1436 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.79
Warm Blue
#4B57DB
ΔE00 4.67
Electric Blue
#0652FF
ΔE00 5.24
Bluish Purple
#703BE7
ΔE00 5.67
Light Indigo
#6D5ACF
ΔE00 5.91
Slate Blue
#6A5ACD
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4FF5 #EAF54F
analogous
#4F97F5 #5A4FF5 #AD4FF5
triadic
#5A4FF5 #F55A4F #4FF55A
tetradic
#5A4FF5 #F54F97 #EAF54F #4FF5AD
square
#5A4FF5 #F54F97 #EAF54F #4FF5AD
split-complementary
#5A4FF5 #F5AD4F #97F54F
monochromatic
#170BBF #2415F2 #5A4FF5 #9089F8 #C7C3FC
Accessibility & contrast
On white
5.42
#5A4FF5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#5A4FF5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4FF5
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4FF5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4FF5 | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071FA
Deuteranopia (green-blind)
#0063F2
Tritanopia (blue-blind)
#007B9C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5a4ff5; /* rgb */ color: rgb(90, 79, 245); /* oklch */ color: oklch(54.6% 0.237 278.0);
Tailwind
colors: {
custom: {
50: '#9a82fa',
500: '#5a4ff5',
950: '#000000',
},
}SCSS
$custom: #5a4ff5; $custom-light: #9a82fa; $custom-dark: #000000;
JSON
{
"hex": "#5a4ff5",
"rgb": {
"r": 90,
"g": 79,
"b": 245
},
"hsl": {
"h": 243.976,
"s": 89.247,
"l": 63.529
},
"oklch": {
"l": 0.54562,
"c": 0.23746,
"h": 278
},
"luminance": 0.14358
}Semantic roles & 50–950 ramp
primary
#5A4FF5
secondary
#E9EDB2
accent
#E600D6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85