#5A4BCC#5A4BCC
#5A4BCC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.5% C 0.191 H 282.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4BCC |
|---|---|
| RGB | rgb(90, 75, 204) |
| HSL | hsl(247, 56%, 55%) |
| HSV | hsv(247, 63%, 80%) |
| CMYK | cmyk(55.9%, 63.2%, 0%, 20%) |
| CIE-LAB | lab(40.52, 41.54, -65.08) |
| CIE-LCH | lch(40.52, 77.20, 302.55°) |
| OKLab | oklab(50.46% 0.041 -0.187) |
| OKLCH | oklch(50.46% 0.191 282.4) |
| XYZ | xyz(17.6282, 11.5643, 58.4183) |
| Luminance | 0.1157 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.13
Iris
#6258C4
ΔE00 4.05
Blue With A Hint Of Purple
#533CC6
ΔE00 4.08
Ocean Blue
#4F42B5
ΔE00 4.35
Blurple
#5539CC
ΔE00 4.52
Warm Blue
#4B57DB
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4BCC #BDCC4B
analogous
#4B7CCC #5A4BCC #9B4BCC
triadic
#5A4BCC #CC5A4B #4BCC5A
tetradic
#5A4BCC #CC4B7C #BDCC4B #4BCC9B
square
#5A4BCC #CC4B7C #BDCC4B #4BCC9B
split-complementary
#5A4BCC #CC9B4B #7CCC4B
monochromatic
#2D237A #3E30AA #5A4BCC #867BDA #B1AAE7
Accessibility & contrast
On white
6.34
#5A4BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#5A4BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4BCC
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4BCC | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#216B84
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5a4bcc; /* rgb */ color: rgb(90, 75, 204); /* oklch */ color: oklch(50.5% 0.191 282.4);
Tailwind
colors: {
custom: {
50: '#937edc',
500: '#5a4bcc',
950: '#000000',
},
}SCSS
$custom: #5a4bcc; $custom-light: #937edc; $custom-dark: #000000;
JSON
{
"hex": "#5a4bcc",
"rgb": {
"r": 90,
"g": 75,
"b": 204
},
"hsl": {
"h": 246.977,
"s": 55.844,
"l": 54.706
},
"oklch": {
"l": 0.50463,
"c": 0.19142,
"h": 282.4
},
"luminance": 0.11565
}Semantic roles & 50–950 ramp
primary
#5A4BCC
secondary
#CED59E
accent
#DF49CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83