#5A4EDC#5A4EDC
#5A4EDC is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.3% C 0.208 H 280.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4EDC |
|---|---|
| RGB | rgb(90, 78, 220) |
| HSL | hsl(245, 67%, 58%) |
| HSV | hsv(245, 65%, 86%) |
| CMYK | cmyk(59.1%, 64.5%, 0%, 13.7%) |
| CIE-LAB | lab(42.44, 44.77, -71.12) |
| CIE-LCH | lch(42.44, 84.04, 302.19°) |
| OKLab | oklab(52.26% 0.0368 -0.2047) |
| OKLCH | oklch(52.26% 0.208 280.2) |
| XYZ | xyz(19.8550, 12.7883, 69.1184) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.60
Purpleish Blue
#6140EF
ΔE00 3.92
Iris
#6258C4
ΔE00 4.40
Slate Blue
#6A5ACD
ΔE00 4.46
Light Indigo
#6D5ACF
ΔE00 4.63
Bluey Purple
#6241C7
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4EDC #D0DC4E
analogous
#4E89DC #5A4EDC #A14EDC
triadic
#5A4EDC #DC5A4E #4EDC5A
tetradic
#5A4EDC #DC4E89 #D0DC4E #4EDCA1
square
#5A4EDC #DC4E89 #D0DC4E #4EDCA1
split-complementary
#5A4EDC #DCA14E #89DC4E
monochromatic
#271D93 #3427C6 #5A4EDC #8A81E6 #B9B4F0
Accessibility & contrast
On white
5.90
#5A4EDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#5A4EDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4EDC
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4EDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4EDC | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#00728E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5a4edc; /* rgb */ color: rgb(90, 78, 220); /* oklch */ color: oklch(52.3% 0.208 280.2);
Tailwind
colors: {
custom: {
50: '#9580e8',
500: '#5a4edc',
950: '#000000',
},
}SCSS
$custom: #5a4edc; $custom-light: #9580e8; $custom-dark: #000000;
JSON
{
"hex": "#5a4edc",
"rgb": {
"r": 90,
"g": 78,
"b": 220
},
"hsl": {
"h": 245.07,
"s": 66.981,
"l": 58.431
},
"oklch": {
"l": 0.5226,
"c": 0.20801,
"h": 280.2
},
"luminance": 0.1279
}Semantic roles & 50–950 ramp
primary
#5A4EDC
secondary
#DADFA7
accent
#EA3EDB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84