#5A4FE5#5A4FE5
#5A4FE5 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.2% C 0.218 H 279.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4FE5 |
|---|---|
| RGB | rgb(90, 79, 229) |
| HSL | hsl(244, 74%, 60%) |
| HSV | hsv(244, 66%, 90%) |
| CMYK | cmyk(60.7%, 65.5%, 0%, 10.2%) |
| CIE-LAB | lab(43.39, 47.00, -74.69) |
| CIE-LCH | lch(43.39, 88.25, 302.18°) |
| OKLab | oklab(53.18% 0.035 -0.2152) |
| OKLCH | oklch(53.18% 0.218 279.2) |
| XYZ | xyz(21.1508, 13.4212, 75.5895) |
| Luminance | 0.1342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.60
Purpleish Blue
#6140EF
ΔE00 3.68
Slate Blue
#6A5ACD
ΔE00 4.77
Light Indigo
#6D5ACF
ΔE00 4.85
Iris
#6258C4
ΔE00 5.09
Dark Periwinkle
#665FD1
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4FE5 #DAE54F
analogous
#4F8FE5 #5A4FE5 #A54FE5
triadic
#5A4FE5 #E55A4F #4FE55A
tetradic
#5A4FE5 #E54F8F #DAE54F #4FE5A5
square
#5A4FE5 #E54F8F #DAE54F #4FE5A5
split-complementary
#5A4FE5 #E5A54F #8FE54F
monochromatic
#2218A2 #2D20D7 #5A4FE5 #8C84ED #BEBAF5
Accessibility & contrast
On white
5.70
#5A4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#5A4FE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4FE5
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4FE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4FE5 | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#0061E2
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5a4fe5; /* rgb */ color: rgb(90, 79, 229); /* oklch */ color: oklch(53.2% 0.218 279.2);
Tailwind
colors: {
custom: {
50: '#9781ee',
500: '#5a4fe5',
950: '#000000',
},
}SCSS
$custom: #5a4fe5; $custom-light: #9781ee; $custom-dark: #000000;
JSON
{
"hex": "#5a4fe5",
"rgb": {
"r": 90,
"g": 79,
"b": 229
},
"hsl": {
"h": 244.4,
"s": 74.257,
"l": 60.392
},
"oklch": {
"l": 0.53175,
"c": 0.21803,
"h": 279.2
},
"luminance": 0.13423
}Semantic roles & 50–950 ramp
primary
#5A4FE5
secondary
#E0E5AB
accent
#D60FC8
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A17
muted
#7F7C85