#5B57E9#5B57E9
#5B57E9 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.8% C 0.214 H 277.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5B57E9 |
|---|---|
| RGB | rgb(91, 87, 233) |
| HSL | hsl(242, 77%, 63%) |
| HSV | hsv(242, 63%, 91%) |
| CMYK | cmyk(60.9%, 62.7%, 0%, 8.6%) |
| CIE-LAB | lab(45.53, 43.76, -73.46) |
| CIE-LCH | lch(45.53, 85.51, 300.78°) |
| OKLab | oklab(54.85% 0.0294 -0.2115) |
| OKLCH | oklch(54.85% 0.214 277.9) |
| XYZ | xyz(22.4258, 14.9220, 78.7735) |
| Luminance | 0.1492 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.11
Dark Periwinkle
#665FD1
ΔE00 4.01
Slate Blue
#6A5ACD
ΔE00 4.36
Light Indigo
#6D5ACF
ΔE00 4.42
Iris
#6258C4
ΔE00 5.12
Electric Blue
#0652FF
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B57E9 #E5E957
analogous
#579CE9 #5B57E9 #A457E9
triadic
#5B57E9 #E95B57 #57E95B
tetradic
#5B57E9 #E9579C #E5E957 #57E9A4
square
#5B57E9 #E9579C #E5E957 #57E9A4
split-complementary
#5B57E9 #E9A457 #9CE957
monochromatic
#1B17AF #2621E2 #5B57E9 #908DF0 #C5C3F7
Accessibility & contrast
On white
5.27
#5B57E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#5B57E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B57E9
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B57E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B57E9 | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#0066E6
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5b57e9; /* rgb */ color: rgb(91, 87, 233); /* oklch */ color: oklch(54.8% 0.214 277.9);
Tailwind
colors: {
custom: {
50: '#9787f1',
500: '#5b57e9',
950: '#000000',
},
}SCSS
$custom: #5b57e9; $custom-light: #9787f1; $custom-dark: #000000;
JSON
{
"hex": "#5b57e9",
"rgb": {
"r": 91,
"g": 87,
"b": 233
},
"hsl": {
"h": 241.644,
"s": 76.842,
"l": 62.745
},
"oklch": {
"l": 0.54847,
"c": 0.21357,
"h": 277.9
},
"luminance": 0.14924
}Semantic roles & 50–950 ramp
primary
#5B57E9
secondary
#E7E8B3
accent
#D90CD3
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85