#5A4DEB#5A4DEB
#5A4DEB is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.4% C 0.228 H 279.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4DEB |
|---|---|
| RGB | rgb(90, 77, 235) |
| HSL | hsl(245, 80%, 61%) |
| HSV | hsv(245, 67%, 92%) |
| CMYK | cmyk(61.7%, 67.2%, 0%, 7.8%) |
| CIE-LAB | lab(43.47, 49.99, -77.95) |
| CIE-LCH | lch(43.47, 92.60, 302.67°) |
| OKLab | oklab(53.39% 0.0358 -0.2247) |
| OKLCH | oklch(53.39% 0.228 279.1) |
| XYZ | xyz(21.8609, 13.4779, 80.0306) |
| Luminance | 0.1348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.09
Warm Blue
#4B57DB
ΔE00 4.25
Bluish Purple
#703BE7
ΔE00 4.96
Slate Blue
#6A5ACD
ΔE00 5.44
Light Indigo
#6D5ACF
ΔE00 5.46
Electric Blue
#0652FF
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4DEB #DEEB4D
analogous
#4D8FEB #5A4DEB #A94DEB
triadic
#5A4DEB #EB5A4D #4DEB5A
tetradic
#5A4DEB #EB4D8F #DEEB4D #4DEBA9
square
#5A4DEB #EB4D8F #DEEB4D #4DEBA9
split-complementary
#5A4DEB #EBA94D #8FEB4D
monochromatic
#2013AA #2A19E1 #5A4DEB #8D84F1 #C0BBF7
Accessibility & contrast
On white
5.68
#5A4DEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#5A4DEB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4DEB
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4DEB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4DEB | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DF0
Deuteranopia (green-blind)
#0060E8
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5a4deb; /* rgb */ color: rgb(90, 77, 235); /* oklch */ color: oklch(53.4% 0.228 279.1);
Tailwind
colors: {
custom: {
50: '#9880f3',
500: '#5a4deb',
950: '#000000',
},
}SCSS
$custom: #5a4deb; $custom-light: #9880f3; $custom-dark: #000000;
JSON
{
"hex": "#5a4deb",
"rgb": {
"r": 90,
"g": 77,
"b": 235
},
"hsl": {
"h": 244.937,
"s": 79.798,
"l": 61.176
},
"oklch": {
"l": 0.5339,
"c": 0.22758,
"h": 279.1
},
"luminance": 0.1348
}Semantic roles & 50–950 ramp
primary
#5A4DEB
secondary
#E3E8AC
accent
#DC09CB
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85