#5A4BC5#5A4BC5
#5A4BC5 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.9% C 0.182 H 283.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4BC5 |
|---|---|
| RGB | rgb(90, 75, 197) |
| HSL | hsl(247, 51%, 53%) |
| HSV | hsv(247, 62%, 77%) |
| CMYK | cmyk(54.3%, 61.9%, 0%, 22.7%) |
| CIE-LAB | lab(39.98, 39.37, -61.89) |
| CIE-LCH | lch(39.98, 73.36, 302.46°) |
| OKLab | oklab(49.9% 0.0415 -0.1776) |
| OKLCH | oklch(49.9% 0.182 283.2) |
| XYZ | xyz(16.8075, 11.2360, 54.0956) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.06
Ocean Blue
#4F42B5
ΔE00 3.65
Iris
#6258C4
ΔE00 3.93
Blue With A Hint Of Purple
#533CC6
ΔE00 3.96
Blurple
#5539CC
ΔE00 4.59
Slate Blue
#6A5ACD
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4BC5 #B6C54B
analogous
#4B79C5 #5A4BC5 #974BC5
triadic
#5A4BC5 #C55A4B #4BC55A
tetradic
#5A4BC5 #C54B79 #B6C54B #4BC597
square
#5A4BC5 #C54B79 #B6C54B #4BC597
split-complementary
#5A4BC5 #C5974B #79C54B
monochromatic
#2E2471 #41339F #5A4BC5 #8479D4 #AFA8E3
Accessibility & contrast
On white
6.47
#5A4BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#5A4BC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4BC5
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4BC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4BC5 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#005AC3
Tritanopia (blue-blind)
#2A6981
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #5a4bc5; /* rgb */ color: rgb(90, 75, 197); /* oklch */ color: oklch(49.9% 0.182 283.2);
Tailwind
colors: {
custom: {
50: '#927ed7',
500: '#5a4bc5',
950: '#000000',
},
}SCSS
$custom: #5a4bc5; $custom-light: #927ed7; $custom-dark: #000000;
JSON
{
"hex": "#5a4bc5",
"rgb": {
"r": 90,
"g": 75,
"b": 197
},
"hsl": {
"h": 247.377,
"s": 51.261,
"l": 53.333
},
"oklch": {
"l": 0.499,
"c": 0.18241,
"h": 283.2
},
"luminance": 0.11237
}Semantic roles & 50–950 ramp
primary
#5A4BC5
secondary
#CAD09C
accent
#DB4DC9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83