#5A4FEA#5A4FEA
#5A4FEA is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.6% C 0.224 H 278.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4FEA |
|---|---|
| RGB | rgb(90, 79, 234) |
| HSL | hsl(244, 79%, 61%) |
| HSV | hsv(244, 66%, 92%) |
| CMYK | cmyk(61.5%, 66.2%, 0%, 8.2%) |
| CIE-LAB | lab(43.81, 48.55, -76.84) |
| CIE-LCH | lch(43.81, 90.90, 302.29°) |
| OKLab | oklab(53.6% 0.0344 -0.2215) |
| OKLCH | oklch(53.6% 0.224 278.8) |
| XYZ | xyz(21.8590, 13.7045, 79.3193) |
| Luminance | 0.1371 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.59
Warm Blue
#4B57DB
ΔE00 3.86
Slate Blue
#6A5ACD
ΔE00 5.11
Light Indigo
#6D5ACF
ΔE00 5.14
Bluish Purple
#703BE7
ΔE00 5.39
Electric Blue
#0652FF
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4FEA #DFEA4F
analogous
#4F92EA #5A4FEA #A84FEA
triadic
#5A4FEA #EA5A4F #4FEA5A
tetradic
#5A4FEA #EA4F92 #DFEA4F #4FEAA8
square
#5A4FEA #EA4F92 #DFEA4F #4FEAA8
split-complementary
#5A4FEA #EAA84F #92EA4F
monochromatic
#1F14AA #291BE1 #5A4FEA #8D86F1 #C1BCF7
Accessibility & contrast
On white
5.61
#5A4FEA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#5A4FEA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4FEA
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4FEA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4FEA | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#0061E7
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5a4fea; /* rgb */ color: rgb(90, 79, 234); /* oklch */ color: oklch(53.6% 0.224 278.8);
Tailwind
colors: {
custom: {
50: '#9881f2',
500: '#5a4fea',
950: '#000000',
},
}SCSS
$custom: #5a4fea; $custom-light: #9881f2; $custom-dark: #000000;
JSON
{
"hex": "#5a4fea",
"rgb": {
"r": 90,
"g": 79,
"b": 234
},
"hsl": {
"h": 244.258,
"s": 78.68,
"l": 61.373
},
"oklch": {
"l": 0.53603,
"c": 0.22417,
"h": 278.8
},
"luminance": 0.13706
}Semantic roles & 50–950 ramp
primary
#5A4FEA
secondary
#E3E7AD
accent
#DB0BCC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85