#5A4FDC#5A4FDC
#5A4FDC is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.4% C 0.207 H 280.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4FDC |
|---|---|
| RGB | rgb(90, 79, 220) |
| HSL | hsl(245, 67%, 59%) |
| HSV | hsv(245, 64%, 86%) |
| CMYK | cmyk(59.1%, 64.1%, 0%, 13.7%) |
| CIE-LAB | lab(42.66, 44.19, -70.77) |
| CIE-LCH | lch(42.66, 83.43, 301.98°) |
| OKLab | oklab(52.42% 0.036 -0.2037) |
| OKLCH | oklch(52.42% 0.207 280) |
| XYZ | xyz(19.9266, 12.9315, 69.1423) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.38
Purpleish Blue
#6140EF
ΔE00 4.13
Iris
#6258C4
ΔE00 4.24
Slate Blue
#6A5ACD
ΔE00 4.28
Light Indigo
#6D5ACF
ΔE00 4.46
Dark Periwinkle
#665FD1
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4FDC #D1DC4F
analogous
#4F8ADC #5A4FDC #A04FDC
triadic
#5A4FDC #DC5A4F #4FDC5A
tetradic
#5A4FDC #DC4F8A #D1DC4F #4FDCA0
square
#5A4FDC #DC4F8A #D1DC4F #4FDCA0
split-complementary
#5A4FDC #DCA04F #8ADC4F
monochromatic
#271D93 #3427C6 #5A4FDC #8A82E6 #BAB5F0
Accessibility & contrast
On white
5.86
#5A4FDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#5A4FDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4FDC
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4FDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4FDC | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#00738E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5a4fdc; /* rgb */ color: rgb(90, 79, 220); /* oklch */ color: oklch(52.4% 0.207 280.0);
Tailwind
colors: {
custom: {
50: '#9581e8',
500: '#5a4fdc',
950: '#000000',
},
}SCSS
$custom: #5a4fdc; $custom-light: #9581e8; $custom-dark: #000000;
JSON
{
"hex": "#5a4fdc",
"rgb": {
"r": 90,
"g": 79,
"b": 220
},
"hsl": {
"h": 244.681,
"s": 66.825,
"l": 58.627
},
"oklch": {
"l": 0.52418,
"c": 0.20684,
"h": 280
},
"luminance": 0.12933
}Semantic roles & 50–950 ramp
primary
#5A4FDC
secondary
#DBDFA8
accent
#EA3EDC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84