#5A4BC2#5A4BC2
#5A4BC2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.7% C 0.179 H 283.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4BC2 |
|---|---|
| RGB | rgb(90, 75, 194) |
| HSL | hsl(248, 49%, 53%) |
| HSV | hsv(248, 61%, 76%) |
| CMYK | cmyk(53.6%, 61.3%, 0%, 23.9%) |
| CIE-LAB | lab(39.75, 38.44, -60.52) |
| CIE-LCH | lch(39.75, 71.70, 302.43°) |
| OKLab | oklab(49.66% 0.0417 -0.1736) |
| OKLCH | oklch(49.66% 0.179 283.5) |
| XYZ | xyz(16.4672, 11.0999, 52.3033) |
| Luminance | 0.1110 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.13
Ocean Blue
#4F42B5
ΔE00 3.40
Iris
#6258C4
ΔE00 3.94
Blue With A Hint Of Purple
#533CC6
ΔE00 4.00
Blurple
#5539CC
ΔE00 4.69
Slate Blue
#6A5ACD
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4BC2 #B3C24B
analogous
#4B77C2 #5A4BC2 #954BC2
triadic
#5A4BC2 #C25A4B #4BC25A
tetradic
#5A4BC2 #C24B77 #B3C24B #4BC295
square
#5A4BC2 #C24B77 #B3C24B #4BC295
split-complementary
#5A4BC2 #C2954B #77C24B
monochromatic
#2E256D #42359B #5A4BC2 #8479D1 #AEA6E1
Accessibility & contrast
On white
6.52
#5A4BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#5A4BC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4BC2
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4BC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4BC2 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#2D687F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #5a4bc2; /* rgb */ color: rgb(90, 75, 194); /* oklch */ color: oklch(49.7% 0.179 283.5);
Tailwind
colors: {
custom: {
50: '#927ed5',
500: '#5a4bc2',
950: '#000000',
},
}SCSS
$custom: #5a4bc2; $custom-light: #927ed5; $custom-dark: #000000;
JSON
{
"hex": "#5a4bc2",
"rgb": {
"r": 90,
"g": 75,
"b": 194
},
"hsl": {
"h": 247.563,
"s": 49.378,
"l": 52.745
},
"oklch": {
"l": 0.49662,
"c": 0.17851,
"h": 283.5
},
"luminance": 0.11101
}Semantic roles & 50–950 ramp
primary
#5A4BC2
secondary
#C8CE9B
accent
#D94FC8
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83