#5B57E5#5B57E5
#5B57E5 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.5% C 0.209 H 278.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5B57E5 |
|---|---|
| RGB | rgb(91, 87, 229) |
| HSL | hsl(242, 73%, 62%) |
| HSV | hsv(242, 62%, 90%) |
| CMYK | cmyk(60.3%, 62%, 0%, 10.2%) |
| CIE-LAB | lab(45.22, 42.49, -71.71) |
| CIE-LCH | lch(45.22, 83.35, 300.65°) |
| OKLab | oklab(54.52% 0.0297 -0.2064) |
| OKLCH | oklch(54.52% 0.209 278.2) |
| XYZ | xyz(21.8609, 14.6960, 75.7982) |
| Luminance | 0.1470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.77
Dark Periwinkle
#665FD1
ΔE00 3.69
Slate Blue
#6A5ACD
ΔE00 3.98
Light Indigo
#6D5ACF
ΔE00 4.10
Iris
#6258C4
ΔE00 4.63
Electric Blue
#0652FF
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B57E5 #E1E557
analogous
#579AE5 #5B57E5 #A257E5
triadic
#5B57E5 #E55B57 #57E55B
tetradic
#5B57E5 #E5579A #E1E557 #57E5A2
square
#5B57E5 #E5579A #E1E557 #57E5A2
split-complementary
#5B57E5 #E5A257 #9AE557
monochromatic
#1E1AA8 #2722DD #5B57E5 #8F8CED #C2C1F5
Accessibility & contrast
On white
5.33
#5B57E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#5B57E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B57E5
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B57E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B57E5 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5b57e5; /* rgb */ color: rgb(91, 87, 229); /* oklch */ color: oklch(54.5% 0.209 278.2);
Tailwind
colors: {
custom: {
50: '#9787ee',
500: '#5b57e5',
950: '#000000',
},
}SCSS
$custom: #5b57e5; $custom-light: #9787ee; $custom-dark: #000000;
JSON
{
"hex": "#5b57e5",
"rgb": {
"r": 91,
"g": 87,
"b": 229
},
"hsl": {
"h": 241.69,
"s": 73.196,
"l": 61.961
},
"oklch": {
"l": 0.54521,
"c": 0.20852,
"h": 278.2
},
"luminance": 0.14698
}Semantic roles & 50–950 ramp
primary
#5B57E5
secondary
#E5E6B2
accent
#D510D0
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84