#5A4EE9#5A4EE9
#5A4EE9 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.4% C 0.224 H 279.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4EE9 |
|---|---|
| RGB | rgb(90, 78, 233) |
| HSL | hsl(245, 78%, 61%) |
| HSV | hsv(245, 67%, 91%) |
| CMYK | cmyk(61.4%, 66.5%, 0%, 8.6%) |
| CIE-LAB | lab(43.51, 48.81, -76.76) |
| CIE-LCH | lch(43.51, 90.96, 302.45°) |
| OKLab | oklab(53.36% 0.0353 -0.2213) |
| OKLCH | oklch(53.36% 0.224 279.1) |
| XYZ | xyz(21.6441, 13.5040, 78.5409) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.35
Warm Blue
#4B57DB
ΔE00 3.97
Bluish Purple
#703BE7
ΔE00 5.16
Slate Blue
#6A5ACD
ΔE00 5.17
Light Indigo
#6D5ACF
ΔE00 5.21
Electric Blue
#0652FF
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4EE9 #DDE94E
analogous
#4E8FE9 #5A4EE9 #A74EE9
triadic
#5A4EE9 #E95A4E #4EE95A
tetradic
#5A4EE9 #E94E8F #DDE94E #4EE9A7
square
#5A4EE9 #E94E8F #DDE94E #4EE9A7
split-complementary
#5A4EE9 #E9A74E #8FE94E
monochromatic
#2015A8 #2B1CDE #5A4EE9 #8D84F0 #BFBBF7
Accessibility & contrast
On white
5.67
#5A4EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#5A4EE9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4EE9
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4EE9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4EE9 | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DEE
Deuteranopia (green-blind)
#0061E6
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5a4ee9; /* rgb */ color: rgb(90, 78, 233); /* oklch */ color: oklch(53.4% 0.224 279.1);
Tailwind
colors: {
custom: {
50: '#9881f1',
500: '#5a4ee9',
950: '#000000',
},
}SCSS
$custom: #5a4ee9; $custom-light: #9881f1; $custom-dark: #000000;
JSON
{
"hex": "#5a4ee9",
"rgb": {
"r": 90,
"g": 78,
"b": 233
},
"hsl": {
"h": 244.645,
"s": 77.889,
"l": 60.98
},
"oklch": {
"l": 0.53365,
"c": 0.22406,
"h": 279.1
},
"luminance": 0.13506
}Semantic roles & 50–950 ramp
primary
#5A4EE9
secondary
#E2E7AC
accent
#DA0BCA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85