#5A4FE4#5A4FE4
#5A4FE4 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.1% C 0.217 H 279.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4FE4 |
|---|---|
| RGB | rgb(90, 79, 228) |
| HSL | hsl(244, 73%, 60%) |
| HSV | hsv(244, 65%, 89%) |
| CMYK | cmyk(60.5%, 65.4%, 0%, 10.6%) |
| CIE-LAB | lab(43.31, 46.69, -74.26) |
| CIE-LCH | lch(43.31, 87.72, 302.16°) |
| OKLab | oklab(53.09% 0.0351 -0.2139) |
| OKLCH | oklch(53.09% 0.217 279.3) |
| XYZ | xyz(21.0116, 13.3655, 74.8563) |
| Luminance | 0.1337 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.56
Purpleish Blue
#6140EF
ΔE00 3.72
Slate Blue
#6A5ACD
ΔE00 4.70
Light Indigo
#6D5ACF
ΔE00 4.80
Iris
#6258C4
ΔE00 4.99
Dark Periwinkle
#665FD1
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4FE4 #D9E44F
analogous
#4F8EE4 #5A4FE4 #A54FE4
triadic
#5A4FE4 #E45A4F #4FE45A
tetradic
#5A4FE4 #E44F8E #D9E44F #4FE4A5
square
#5A4FE4 #E44F8E #D9E44F #4FE4A5
split-complementary
#5A4FE4 #E4A54F #8EE44F
monochromatic
#2319A0 #2E21D5 #5A4FE4 #8C84EC #BDB9F4
Accessibility & contrast
On white
5.72
#5A4FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#5A4FE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4FE4
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4FE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4FE4 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#0060E1
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5a4fe4; /* rgb */ color: rgb(90, 79, 228); /* oklch */ color: oklch(53.1% 0.217 279.3);
Tailwind
colors: {
custom: {
50: '#9781ee',
500: '#5a4fe4',
950: '#000000',
},
}SCSS
$custom: #5a4fe4; $custom-light: #9781ee; $custom-dark: #000000;
JSON
{
"hex": "#5a4fe4",
"rgb": {
"r": 90,
"g": 79,
"b": 228
},
"hsl": {
"h": 244.43,
"s": 73.399,
"l": 60.196
},
"oklch": {
"l": 0.5309,
"c": 0.2168,
"h": 279.3
},
"luminance": 0.13367
}Semantic roles & 50–950 ramp
primary
#5A4FE4
secondary
#E0E4AB
accent
#D610C7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84