#5B57E8#5B57E8
#5B57E8 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.8% C 0.212 H 278.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5B57E8 |
|---|---|
| RGB | rgb(91, 87, 232) |
| HSL | hsl(242, 76%, 63%) |
| HSV | hsv(242, 63%, 91%) |
| CMYK | cmyk(60.8%, 62.5%, 0%, 9%) |
| CIE-LAB | lab(45.45, 43.44, -73.03) |
| CIE-LCH | lch(45.45, 84.97, 300.75°) |
| OKLab | oklab(54.77% 0.0295 -0.2103) |
| OKLCH | oklch(54.77% 0.212 278) |
| XYZ | xyz(22.2834, 14.8650, 78.0233) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.02
Dark Periwinkle
#665FD1
ΔE00 3.93
Slate Blue
#6A5ACD
ΔE00 4.26
Light Indigo
#6D5ACF
ΔE00 4.33
Iris
#6258C4
ΔE00 5.00
Electric Blue
#0652FF
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B57E8 #E4E857
analogous
#579CE8 #5B57E8 #A357E8
triadic
#5B57E8 #E85B57 #57E85B
tetradic
#5B57E8 #E8579C #E4E857 #57E8A3
square
#5B57E8 #E8579C #E4E857 #57E8A3
split-complementary
#5B57E8 #E8A357 #9CE857
monochromatic
#1C18AD #2621E1 #5B57E8 #908DEF #C4C3F7
Accessibility & contrast
On white
5.29
#5B57E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#5B57E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B57E8
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B57E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B57E8 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5b57e8; /* rgb */ color: rgb(91, 87, 232); /* oklch */ color: oklch(54.8% 0.212 278.0);
Tailwind
colors: {
custom: {
50: '#9787f0',
500: '#5b57e8',
950: '#000000',
},
}SCSS
$custom: #5b57e8; $custom-light: #9787f0; $custom-dark: #000000;
JSON
{
"hex": "#5b57e8",
"rgb": {
"r": 91,
"g": 87,
"b": 232
},
"hsl": {
"h": 241.655,
"s": 75.916,
"l": 62.549
},
"oklch": {
"l": 0.54765,
"c": 0.21231,
"h": 278
},
"luminance": 0.14867
}Semantic roles & 50–950 ramp
primary
#5B57E8
secondary
#E6E8B3
accent
#D80DD3
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85