#5A57E8#5A57E8
#5A57E8 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.7% C 0.213 H 277.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5A57E8 |
|---|---|
| RGB | rgb(90, 87, 232) |
| HSL | hsl(241, 76%, 63%) |
| HSV | hsv(241, 63%, 91%) |
| CMYK | cmyk(61.2%, 62.5%, 0%, 9%) |
| CIE-LAB | lab(45.38, 43.29, -73.14) |
| CIE-LCH | lch(45.38, 84.99, 300.62°) |
| OKLab | oklab(54.7% 0.0283 -0.2106) |
| OKLCH | oklch(54.7% 0.213 277.6) |
| XYZ | xyz(22.1854, 14.8145, 78.0187) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.90
Dark Periwinkle
#665FD1
ΔE00 3.97
Slate Blue
#6A5ACD
ΔE00 4.33
Light Indigo
#6D5ACF
ΔE00 4.42
Iris
#6258C4
ΔE00 5.01
Electric Blue
#0652FF
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A57E8 #E5E857
analogous
#579DE8 #5A57E8 #A257E8
triadic
#5A57E8 #E85A57 #57E85A
tetradic
#5A57E8 #E8579D #E5E857 #57E8A2
square
#5A57E8 #E8579D #E5E857 #57E8A2
split-complementary
#5A57E8 #E8A257 #9DE857
monochromatic
#1B18AD #2521E1 #5A57E8 #8F8DEF #C4C3F7
Accessibility & contrast
On white
5.30
#5A57E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#5A57E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A57E8
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A57E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A57E8 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0065E5
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5a57e8; /* rgb */ color: rgb(90, 87, 232); /* oklch */ color: oklch(54.7% 0.213 277.6);
Tailwind
colors: {
custom: {
50: '#9787f0',
500: '#5a57e8',
950: '#000000',
},
}SCSS
$custom: #5a57e8; $custom-light: #9787f0; $custom-dark: #000000;
JSON
{
"hex": "#5a57e8",
"rgb": {
"r": 90,
"g": 87,
"b": 232
},
"hsl": {
"h": 241.241,
"s": 75.916,
"l": 62.549
},
"oklch": {
"l": 0.54696,
"c": 0.21252,
"h": 277.6
},
"luminance": 0.14816
}Semantic roles & 50–950 ramp
primary
#5A57E8
secondary
#E7E8B3
accent
#D80DD4
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85