#5A4FDA#5A4FDA
#5A4FDA is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.3% C 0.204 H 280.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4FDA |
|---|---|
| RGB | rgb(90, 79, 218) |
| HSL | hsl(245, 65%, 58%) |
| HSV | hsv(245, 64%, 85%) |
| CMYK | cmyk(58.7%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(42.50, 43.56, -69.89) |
| CIE-LCH | lch(42.50, 82.35, 301.94°) |
| OKLab | oklab(52.25% 0.0361 -0.2011) |
| OKLCH | oklch(52.25% 0.204 280.2) |
| XYZ | xyz(19.6633, 12.8262, 67.7556) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.38
Iris
#6258C4
ΔE00 4.06
Slate Blue
#6A5ACD
ΔE00 4.19
Purpleish Blue
#6140EF
ΔE00 4.27
Light Indigo
#6D5ACF
ΔE00 4.40
Bluey Purple
#6241C7
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4FDA #CFDA4F
analogous
#4F89DA #5A4FDA #9F4FDA
triadic
#5A4FDA #DA5A4F #4FDA5A
tetradic
#5A4FDA #DA4F89 #CFDA4F #4FDA9F
square
#5A4FDA #DA4F89 #CFDA4F #4FDA9F
split-complementary
#5A4FDA #DA9F4F #89DA4F
monochromatic
#271E90 #3529C3 #5A4FDA #8982E5 #B9B4EF
Accessibility & contrast
On white
5.89
#5A4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#5A4FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4FDA
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4FDA | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#005FD7
Tritanopia (blue-blind)
#00728D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5a4fda; /* rgb */ color: rgb(90, 79, 218); /* oklch */ color: oklch(52.3% 0.204 280.2);
Tailwind
colors: {
custom: {
50: '#9581e6',
500: '#5a4fda',
950: '#000000',
},
}SCSS
$custom: #5a4fda; $custom-light: #9581e6; $custom-dark: #000000;
JSON
{
"hex": "#5a4fda",
"rgb": {
"r": 90,
"g": 79,
"b": 218
},
"hsl": {
"h": 244.748,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.52252,
"c": 0.20432,
"h": 280.2
},
"luminance": 0.12828
}Semantic roles & 50–950 ramp
primary
#5A4FDA
secondary
#DADEA7
accent
#E840DB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84