#5A4BB9#5A4BB9
#5A4BB9 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.0% C 0.167 H 284.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4BB9 |
|---|---|
| RGB | rgb(90, 75, 185) |
| HSL | hsl(248, 44%, 51%) |
| HSV | hsv(248, 59%, 73%) |
| CMYK | cmyk(51.4%, 59.5%, 0%, 27.5%) |
| CIE-LAB | lab(39.08, 35.66, -56.33) |
| CIE-LCH | lch(39.08, 66.67, 302.34°) |
| OKLab | oklab(48.97% 0.0421 -0.1613) |
| OKLCH | oklch(48.97% 0.167 284.6) |
| XYZ | xyz(15.4869, 10.7078, 47.1403) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.94
Bluey Purple
#6241C7
ΔE00 3.67
Iris
#6258C4
ΔE00 4.24
Blue With A Hint Of Purple
#533CC6
ΔE00 4.41
Blurple
#5539CC
ΔE00 5.24
Slate Blue
#6A5ACD
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4BB9 #AAB94B
analogous
#4B73B9 #5A4BB9 #914BB9
triadic
#5A4BB9 #B95A4B #4BB95A
tetradic
#5A4BB9 #B94B73 #AAB94B #4BB991
square
#5A4BB9 #B94B73 #AAB94B #4BB991
split-complementary
#5A4BB9 #B9914B #73B94B
monochromatic
#2F2763 #44388F #5A4BB9 #8277CA #ABA3DB
Accessibility & contrast
On white
6.68
#5A4BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#5A4BB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4BB9
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4BB9 | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#35657B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5a4bb9; /* rgb */ color: rgb(90, 75, 185); /* oklch */ color: oklch(49.0% 0.167 284.6);
Tailwind
colors: {
custom: {
50: '#907ecf',
500: '#5a4bb9',
950: '#000000',
},
}SCSS
$custom: #5a4bb9; $custom-light: #907ecf; $custom-dark: #000000;
JSON
{
"hex": "#5a4bb9",
"rgb": {
"r": 90,
"g": 75,
"b": 185
},
"hsl": {
"h": 248.182,
"s": 44,
"l": 50.98
},
"oklch": {
"l": 0.48966,
"c": 0.16666,
"h": 284.6
},
"luminance": 0.10709
}Semantic roles & 50–950 ramp
primary
#5A4BB9
secondary
#C2C898
accent
#D454C2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0A14
muted
#7E7C82