#5A57F3#5A57F3
#5A57F3 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.6% C 0.226 H 277.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5A57F3 |
|---|---|
| RGB | rgb(90, 87, 243) |
| HSL | hsl(241, 87%, 65%) |
| HSV | hsv(241, 64%, 95%) |
| CMYK | cmyk(63%, 64.2%, 0%, 4.7%) |
| CIE-LAB | lab(46.26, 46.79, -77.90) |
| CIE-LCH | lch(46.26, 90.87, 300.99°) |
| OKLab | oklab(55.61% 0.0274 -0.2246) |
| OKLCH | oklch(55.61% 0.226 277) |
| XYZ | xyz(23.7971, 15.4592, 86.5065) |
| Luminance | 0.1546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.02
Dark Periwinkle
#665FD1
ΔE00 4.93
Electric Blue
#0652FF
ΔE00 5.14
Light Indigo
#6D5ACF
ΔE00 5.36
Slate Blue
#6A5ACD
ΔE00 5.39
Purpleish Blue
#6140EF
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A57F3 #F0F357
analogous
#57A2F3 #5A57F3 #A857F3
triadic
#5A57F3 #F35A57 #57F35A
tetradic
#5A57F3 #F357A2 #F0F357 #57F3A8
square
#5A57F3 #F357A2 #F0F357 #57F3A8
split-complementary
#5A57F3 #F3A857 #A2F357
monochromatic
#110EC2 #221EEF #5A57F3 #9290F7 #CAC9FB
Accessibility & contrast
On white
5.13
#5A57F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#5A57F3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A57F3
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A57F3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A57F3 | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F8
Deuteranopia (green-blind)
#0067F0
Tritanopia (blue-blind)
#007F9D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5a57f3; /* rgb */ color: rgb(90, 87, 243); /* oklch */ color: oklch(55.6% 0.226 277.0);
Tailwind
colors: {
custom: {
50: '#9987f8',
500: '#5a57f3',
950: '#000000',
},
}SCSS
$custom: #5a57f3; $custom-light: #9987f8; $custom-dark: #000000;
JSON
{
"hex": "#5a57f3",
"rgb": {
"r": 90,
"g": 87,
"b": 243
},
"hsl": {
"h": 241.154,
"s": 86.667,
"l": 64.706
},
"oklch": {
"l": 0.55608,
"c": 0.22624,
"h": 277
},
"luminance": 0.15461
}Semantic roles & 50–950 ramp
primary
#5A57F3
secondary
#EDEEB8
accent
#E302DF
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85