#5A4BE1#5A4BE1
#5A4BE1 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.2% C 0.218 H 280.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4BE1 |
|---|---|
| RGB | rgb(90, 75, 225) |
| HSL | hsl(246, 71%, 59%) |
| HSV | hsv(246, 67%, 88%) |
| CMYK | cmyk(60%, 66.7%, 0%, 11.8%) |
| CIE-LAB | lab(42.22, 48.03, -74.34) |
| CIE-LCH | lch(42.22, 88.51, 302.87°) |
| OKLab | oklab(52.22% 0.0387 -0.2142) |
| OKLCH | oklch(52.22% 0.218 280.2) |
| XYZ | xyz(20.3188, 12.6406, 72.5887) |
| Luminance | 0.1264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.00
Warm Blue
#4B57DB
ΔE00 4.30
Bluish Purple
#703BE7
ΔE00 4.60
Bluey Purple
#6241C7
ΔE00 4.67
Purpley Blue
#5F34E7
ΔE00 4.95
Slate Blue
#6A5ACD
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4BE1 #D2E14B
analogous
#4B87E1 #5A4BE1 #A54BE1
triadic
#5A4BE1 #E15A4B #4BE15A
tetradic
#5A4BE1 #E14B87 #D2E14B #4BE1A5
square
#5A4BE1 #E14B87 #D2E14B #4BE1A5
split-complementary
#5A4BE1 #E1A54B #87E14B
monochromatic
#261998 #3322CD #5A4BE1 #8A7FEA #BAB4F2
Accessibility & contrast
On white
5.95
#5A4BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#5A4BE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4BE1
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4BE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4BE1 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#005EDE
Tritanopia (blue-blind)
#007290
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5a4be1; /* rgb */ color: rgb(90, 75, 225); /* oklch */ color: oklch(52.2% 0.218 280.2);
Tailwind
colors: {
custom: {
50: '#967fec',
500: '#5a4be1',
950: '#000000',
},
}SCSS
$custom: #5a4be1; $custom-light: #967fec; $custom-dark: #000000;
JSON
{
"hex": "#5a4be1",
"rgb": {
"r": 90,
"g": 75,
"b": 225
},
"hsl": {
"h": 246,
"s": 71.429,
"l": 58.824
},
"oklch": {
"l": 0.52223,
"c": 0.21764,
"h": 280.2
},
"luminance": 0.12642
}Semantic roles & 50–950 ramp
primary
#5A4BE1
secondary
#DCE1A6
accent
#EE3ADC
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84