#5A57E9#5A57E9
#5A57E9 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.8% C 0.214 H 277.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5A57E9 |
|---|---|
| RGB | rgb(90, 87, 233) |
| HSL | hsl(241, 77%, 63%) |
| HSV | hsv(241, 63%, 91%) |
| CMYK | cmyk(61.4%, 62.7%, 0%, 8.6%) |
| CIE-LAB | lab(45.46, 43.61, -73.58) |
| CIE-LCH | lch(45.46, 85.53, 300.65°) |
| OKLab | oklab(54.78% 0.0282 -0.2119) |
| OKLCH | oklch(54.78% 0.214 277.6) |
| XYZ | xyz(22.3279, 14.8715, 78.7689) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.00
Dark Periwinkle
#665FD1
ΔE00 4.05
Slate Blue
#6A5ACD
ΔE00 4.42
Light Indigo
#6D5ACF
ΔE00 4.50
Iris
#6258C4
ΔE00 5.13
Electric Blue
#0652FF
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A57E9 #E6E957
analogous
#579DE9 #5A57E9 #A357E9
triadic
#5A57E9 #E95A57 #57E95A
tetradic
#5A57E9 #E9579D #E6E957 #57E9A3
square
#5A57E9 #E9579D #E6E957 #57E9A3
split-complementary
#5A57E9 #E9A357 #9DE957
monochromatic
#1A17AF #2521E2 #5A57E9 #8F8DF0 #C4C3F7
Accessibility & contrast
On white
5.28
#5A57E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#5A57E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A57E9
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A57E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A57E9 | 1.00 | 5.28 | 3.97 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#0065E6
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5a57e9; /* rgb */ color: rgb(90, 87, 233); /* oklch */ color: oklch(54.8% 0.214 277.6);
Tailwind
colors: {
custom: {
50: '#9787f1',
500: '#5a57e9',
950: '#000000',
},
}SCSS
$custom: #5a57e9; $custom-light: #9787f1; $custom-dark: #000000;
JSON
{
"hex": "#5a57e9",
"rgb": {
"r": 90,
"g": 87,
"b": 233
},
"hsl": {
"h": 241.233,
"s": 76.842,
"l": 62.745
},
"oklch": {
"l": 0.54778,
"c": 0.21378,
"h": 277.6
},
"luminance": 0.14873
}Semantic roles & 50–950 ramp
primary
#5A57E9
secondary
#E7E8B3
accent
#D90CD5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85