#5A4BBA#5A4BBA
#5A4BBA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.0% C 0.168 H 284.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4BBA |
|---|---|
| RGB | rgb(90, 75, 186) |
| HSL | hsl(248, 45%, 51%) |
| HSV | hsv(248, 60%, 73%) |
| CMYK | cmyk(51.6%, 59.7%, 0%, 27.1%) |
| CIE-LAB | lab(39.16, 35.97, -56.80) |
| CIE-LCH | lch(39.16, 67.23, 302.35°) |
| OKLab | oklab(49.04% 0.042 -0.1626) |
| OKLCH | oklch(49.04% 0.168 284.5) |
| XYZ | xyz(15.5928, 10.7502, 47.6982) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.96
Bluey Purple
#6241C7
ΔE00 3.59
Iris
#6258C4
ΔE00 4.18
Blue With A Hint Of Purple
#533CC6
ΔE00 4.34
Blurple
#5539CC
ΔE00 5.17
Slate Blue
#6A5ACD
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4BBA #ABBA4B
analogous
#4B73BA #5A4BBA #914BBA
triadic
#5A4BBA #BA5A4B #4BBA5A
tetradic
#5A4BBA #BA4B73 #ABBA4B #4BBA91
square
#5A4BBA #BA4B73 #ABBA4B #4BBA91
split-complementary
#5A4BBA #BA914B #73BA4B
monochromatic
#2F2664 #433790 #5A4BBA #8377CB #ABA3DC
Accessibility & contrast
On white
6.67
#5A4BBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#5A4BBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4BBA
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4BBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4BBA | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#35657B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5a4bba; /* rgb */ color: rgb(90, 75, 186); /* oklch */ color: oklch(49.0% 0.168 284.5);
Tailwind
colors: {
custom: {
50: '#907ecf',
500: '#5a4bba',
950: '#000000',
},
}SCSS
$custom: #5a4bba; $custom-light: #907ecf; $custom-dark: #000000;
JSON
{
"hex": "#5a4bba",
"rgb": {
"r": 90,
"g": 75,
"b": 186
},
"hsl": {
"h": 248.108,
"s": 44.578,
"l": 51.176
},
"oklch": {
"l": 0.49042,
"c": 0.16799,
"h": 284.5
},
"luminance": 0.10751
}Semantic roles & 50–950 ramp
primary
#5A4BBA
secondary
#C2C998
accent
#D454C3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0A14
muted
#7E7C82