#5C4FDA#5C4FDA
#5C4FDA is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.4% C 0.204 H 280.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5C4FDA |
|---|---|
| RGB | rgb(92, 79, 218) |
| HSL | hsl(246, 65%, 58%) |
| HSV | hsv(246, 64%, 85%) |
| CMYK | cmyk(57.8%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(42.65, 43.88, -69.63) |
| CIE-LCH | lch(42.65, 82.30, 302.22°) |
| OKLab | oklab(52.4% 0.0387 -0.2003) |
| OKLCH | oklch(52.4% 0.204 280.9) |
| XYZ | xyz(19.8605, 12.9279, 67.7648) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.60
Iris
#6258C4
ΔE00 4.01
Slate Blue
#6A5ACD
ΔE00 4.04
Purpleish Blue
#6140EF
ΔE00 4.17
Light Indigo
#6D5ACF
ΔE00 4.22
Bluey Purple
#6241C7
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C4FDA #CDDA4F
analogous
#4F87DA #5C4FDA #A24FDA
triadic
#5C4FDA #DA5C4F #4FDA5C
tetradic
#5C4FDA #DA4F87 #CDDA4F #4FDAA2
square
#5C4FDA #DA4F87 #CDDA4F #4FDAA2
split-complementary
#5C4FDA #DAA24F #87DA4F
monochromatic
#291E90 #3729C3 #5C4FDA #8B82E5 #BAB4EF
Accessibility & contrast
On white
5.86
#5C4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#5C4FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C4FDA
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C4FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C4FDA | 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)
#006ADE
Deuteranopia (green-blind)
#0060D7
Tritanopia (blue-blind)
#0A728D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5c4fda; /* rgb */ color: rgb(92, 79, 218); /* oklch */ color: oklch(52.4% 0.204 280.9);
Tailwind
colors: {
custom: {
50: '#9681e6',
500: '#5c4fda',
950: '#000000',
},
}SCSS
$custom: #5c4fda; $custom-light: #9681e6; $custom-dark: #000000;
JSON
{
"hex": "#5c4fda",
"rgb": {
"r": 92,
"g": 79,
"b": 218
},
"hsl": {
"h": 245.612,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.52403,
"c": 0.20398,
"h": 280.9
},
"luminance": 0.12929
}Semantic roles & 50–950 ramp
primary
#5C4FDA
secondary
#D9DEA7
accent
#E840D8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84