#5A4FDB#5A4FDB
#5A4FDB is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.3% C 0.206 H 280.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4FDB |
|---|---|
| RGB | rgb(90, 79, 219) |
| HSL | hsl(245, 66%, 58%) |
| HSV | hsv(245, 64%, 86%) |
| CMYK | cmyk(58.9%, 63.9%, 0%, 14.1%) |
| CIE-LAB | lab(42.58, 43.87, -70.33) |
| CIE-LCH | lch(42.58, 82.89, 301.96°) |
| OKLab | oklab(52.34% 0.0361 -0.2024) |
| OKLCH | oklch(52.34% 0.206 280.1) |
| XYZ | xyz(19.7946, 12.8787, 68.4468) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.38
Iris
#6258C4
ΔE00 4.15
Purpleish Blue
#6140EF
ΔE00 4.20
Slate Blue
#6A5ACD
ΔE00 4.23
Light Indigo
#6D5ACF
ΔE00 4.43
Bluey Purple
#6241C7
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4FDB #D0DB4F
analogous
#4F8ADB #5A4FDB #A04FDB
triadic
#5A4FDB #DB5A4F #4FDB5A
tetradic
#5A4FDB #DB4F8A #D0DB4F #4FDBA0
square
#5A4FDB #DB4F8A #D0DB4F #4FDBA0
split-complementary
#5A4FDB #DBA04F #8ADB4F
monochromatic
#271E92 #3428C5 #5A4FDB #8A82E5 #B9B5F0
Accessibility & contrast
On white
5.87
#5A4FDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#5A4FDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4FDB
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4FDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4FDB | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#00728E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5a4fdb; /* rgb */ color: rgb(90, 79, 219); /* oklch */ color: oklch(52.3% 0.206 280.1);
Tailwind
colors: {
custom: {
50: '#9581e7',
500: '#5a4fdb',
950: '#000000',
},
}SCSS
$custom: #5a4fdb; $custom-light: #9581e7; $custom-dark: #000000;
JSON
{
"hex": "#5a4fdb",
"rgb": {
"r": 90,
"g": 79,
"b": 219
},
"hsl": {
"h": 244.714,
"s": 66.038,
"l": 58.431
},
"oklch": {
"l": 0.52335,
"c": 0.20558,
"h": 280.1
},
"luminance": 0.1288
}Semantic roles & 50–950 ramp
primary
#5A4FDB
secondary
#DADFA7
accent
#E93FDC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84