#5A4FE0#5A4FE0
#5A4FE0 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.8% C 0.212 H 279.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4FE0 |
|---|---|
| RGB | rgb(90, 79, 224) |
| HSL | hsl(245, 70%, 59%) |
| HSV | hsv(245, 65%, 88%) |
| CMYK | cmyk(59.8%, 64.7%, 0%, 12.2%) |
| CIE-LAB | lab(42.98, 45.44, -72.52) |
| CIE-LCH | lch(42.98, 85.58, 302.07°) |
| OKLab | oklab(52.75% 0.0356 -0.2088) |
| OKLCH | oklch(52.75% 0.212 279.7) |
| XYZ | xyz(20.4627, 13.1460, 71.9657) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.43
Purpleish Blue
#6140EF
ΔE00 3.89
Slate Blue
#6A5ACD
ΔE00 4.47
Iris
#6258C4
ΔE00 4.61
Light Indigo
#6D5ACF
ΔE00 4.61
Dark Periwinkle
#665FD1
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4FE0 #D5E04F
analogous
#4F8DE0 #5A4FE0 #A34FE0
triadic
#5A4FE0 #E05A4F #4FE05A
tetradic
#5A4FE0 #E04F8D #D5E04F #4FE0A3
square
#5A4FE0 #E04F8D #D5E04F #4FE0A3
split-complementary
#5A4FE0 #E0A34F #8DE04F
monochromatic
#251B9A #3124CE #5A4FE0 #8B83E9 #BCB7F2
Accessibility & contrast
On white
5.79
#5A4FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#5A4FE0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4FE0
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4FE0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4FE0 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE5
Deuteranopia (green-blind)
#0060DD
Tritanopia (blue-blind)
#007491
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5a4fe0; /* rgb */ color: rgb(90, 79, 224); /* oklch */ color: oklch(52.8% 0.212 279.7);
Tailwind
colors: {
custom: {
50: '#9681eb',
500: '#5a4fe0',
950: '#000000',
},
}SCSS
$custom: #5a4fe0; $custom-light: #9681eb; $custom-dark: #000000;
JSON
{
"hex": "#5a4fe0",
"rgb": {
"r": 90,
"g": 79,
"b": 224
},
"hsl": {
"h": 244.552,
"s": 70.048,
"l": 59.412
},
"oklch": {
"l": 0.52752,
"c": 0.21184,
"h": 279.7
},
"luminance": 0.13147
}Semantic roles & 50–950 ramp
primary
#5A4FE0
secondary
#DDE2A9
accent
#ED3BDF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84