#5A4FE6#5A4FE6
#5A4FE6 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.3% C 0.219 H 279.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4FE6 |
|---|---|
| RGB | rgb(90, 79, 230) |
| HSL | hsl(244, 75%, 61%) |
| HSV | hsv(244, 66%, 90%) |
| CMYK | cmyk(60.9%, 65.7%, 0%, 9.8%) |
| CIE-LAB | lab(43.47, 47.31, -75.12) |
| CIE-LCH | lch(43.47, 88.78, 302.20°) |
| OKLab | oklab(53.26% 0.0349 -0.2165) |
| OKLCH | oklch(53.26% 0.219 279.2) |
| XYZ | xyz(21.2908, 13.4772, 76.3270) |
| Luminance | 0.1348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.65
Purpleish Blue
#6140EF
ΔE00 3.66
Slate Blue
#6A5ACD
ΔE00 4.83
Light Indigo
#6D5ACF
ΔE00 4.91
Iris
#6258C4
ΔE00 5.19
Dark Periwinkle
#665FD1
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4FE6 #DBE64F
analogous
#4F8FE6 #5A4FE6 #A54FE6
triadic
#5A4FE6 #E65A4F #4FE65A
tetradic
#5A4FE6 #E64F8F #DBE64F #4FE6A5
square
#5A4FE6 #E64F8F #DBE64F #4FE6A5
split-complementary
#5A4FE6 #E6A54F #8FE64F
monochromatic
#2117A3 #2C1FD9 #5A4FE6 #8C85EE #BEBAF5
Accessibility & contrast
On white
5.68
#5A4FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#5A4FE6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4FE6
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4FE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4FE6 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DEB
Deuteranopia (green-blind)
#0061E3
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5a4fe6; /* rgb */ color: rgb(90, 79, 230); /* oklch */ color: oklch(53.3% 0.219 279.2);
Tailwind
colors: {
custom: {
50: '#9781ef',
500: '#5a4fe6',
950: '#000000',
},
}SCSS
$custom: #5a4fe6; $custom-light: #9781ef; $custom-dark: #000000;
JSON
{
"hex": "#5a4fe6",
"rgb": {
"r": 90,
"g": 79,
"b": 230
},
"hsl": {
"h": 244.371,
"s": 75.124,
"l": 60.588
},
"oklch": {
"l": 0.5326,
"c": 0.21927,
"h": 279.2
},
"luminance": 0.13479
}Semantic roles & 50–950 ramp
primary
#5A4FE6
secondary
#E1E5AC
accent
#D70EC9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A17
muted
#7F7C85