#5A57F0#5A57F0
#5A57F0 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.4% C 0.223 H 277.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5A57F0 |
|---|---|
| RGB | rgb(90, 87, 240) |
| HSL | hsl(241, 84%, 64%) |
| HSV | hsv(241, 64%, 94%) |
| CMYK | cmyk(62.5%, 63.7%, 0%, 5.9%) |
| CIE-LAB | lab(46.01, 45.84, -76.61) |
| CIE-LCH | lch(46.01, 89.28, 300.89°) |
| OKLab | oklab(55.36% 0.0277 -0.2208) |
| OKLCH | oklch(55.36% 0.223 277.1) |
| XYZ | xyz(23.3477, 15.2794, 84.1400) |
| Luminance | 0.1528 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.70
Dark Periwinkle
#665FD1
ΔE00 4.65
Slate Blue
#6A5ACD
ΔE00 5.09
Light Indigo
#6D5ACF
ΔE00 5.09
Electric Blue
#0652FF
ΔE00 5.13
Purpleish Blue
#6140EF
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A57F0 #EDF057
analogous
#57A1F0 #5A57F0 #A657F0
triadic
#5A57F0 #F05A57 #57F05A
tetradic
#5A57F0 #F057A1 #EDF057 #57F0A6
square
#5A57F0 #F057A1 #EDF057 #57F0A6
split-complementary
#5A57F0 #F0A657 #A1F057
monochromatic
#1411BC #231FEB #5A57F0 #918FF5 #C8C7FA
Accessibility & contrast
On white
5.18
#5A57F0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#5A57F0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A57F0
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A57F0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A57F0 | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F5
Deuteranopia (green-blind)
#0066ED
Tritanopia (blue-blind)
#007E9C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5a57f0; /* rgb */ color: rgb(90, 87, 240); /* oklch */ color: oklch(55.4% 0.223 277.1);
Tailwind
colors: {
custom: {
50: '#9887f6',
500: '#5a57f0',
950: '#000000',
},
}SCSS
$custom: #5a57f0; $custom-light: #9887f6; $custom-dark: #000000;
JSON
{
"hex": "#5a57f0",
"rgb": {
"r": 90,
"g": 87,
"b": 240
},
"hsl": {
"h": 241.176,
"s": 83.607,
"l": 64.118
},
"oklch": {
"l": 0.55357,
"c": 0.22252,
"h": 277.1
},
"luminance": 0.15281
}Semantic roles & 50–950 ramp
primary
#5A57F0
secondary
#EBECB7
accent
#E005DC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85