#5A57DC#5A57DC
#5A57DC is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.7% C 0.197 H 278.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #5A57DC |
|---|---|
| RGB | rgb(90, 87, 220) |
| HSL | hsl(241, 66%, 60%) |
| HSV | hsv(241, 60%, 86%) |
| CMYK | cmyk(59.1%, 60.5%, 0%, 13.7%) |
| CIE-LAB | lab(44.46, 39.46, -67.84) |
| CIE-LCH | lch(44.46, 78.48, 300.18°) |
| OKLab | oklab(53.73% 0.029 -0.195) |
| OKLCH | oklch(53.73% 0.197 278.4) |
| XYZ | xyz(20.5388, 14.1559, 69.3463) |
| Luminance | 0.1416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.14
Dark Periwinkle
#665FD1
ΔE00 3.19
Slate Blue
#6A5ACD
ΔE00 3.35
Iris
#6258C4
ΔE00 3.58
Light Indigo
#6D5ACF
ΔE00 3.63
Electric Blue
#0652FF
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A57DC #D9DC57
analogous
#5797DC #5A57DC #9C57DC
triadic
#5A57DC #DC5A57 #57DC5A
tetradic
#5A57DC #DC5797 #D9DC57 #57DC9C
square
#5A57DC #DC5797 #D9DC57 #57DC9C
split-complementary
#5A57DC #DC9C57 #97DC57
monochromatic
#232099 #2E2ACB #5A57DC #8C8AE7 #BDBCF1
Accessibility & contrast
On white
5.48
#5A57DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#5A57DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A57DC
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A57DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A57DC | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5a57dc; /* rgb */ color: rgb(90, 87, 220); /* oklch */ color: oklch(53.7% 0.197 278.4);
Tailwind
colors: {
custom: {
50: '#9587e8',
500: '#5a57dc',
950: '#000000',
},
}SCSS
$custom: #5a57dc; $custom-light: #9587e8; $custom-dark: #000000;
JSON
{
"hex": "#5a57dc",
"rgb": {
"r": 90,
"g": 87,
"b": 220
},
"hsl": {
"h": 241.353,
"s": 65.517,
"l": 60.196
},
"oklch": {
"l": 0.53731,
"c": 0.19719,
"h": 278.4
},
"luminance": 0.14157
}Semantic roles & 50–950 ramp
primary
#5A57DC
secondary
#E0E1AE
accent
#CD18C9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84