#5857E8#5857E8
#5857E8 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.6% C 0.213 H 277.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5857E8 |
|---|---|
| RGB | rgb(88, 87, 232) |
| HSL | hsl(240, 76%, 63%) |
| HSV | hsv(240, 63%, 91%) |
| CMYK | cmyk(62.1%, 62.5%, 0%, 9%) |
| CIE-LAB | lab(45.24, 42.99, -73.37) |
| CIE-LCH | lch(45.24, 85.04, 300.37°) |
| OKLab | oklab(54.56% 0.0259 -0.2113) |
| OKLCH | oklch(54.56% 0.213 277) |
| XYZ | xyz(21.9935, 14.7155, 78.0097) |
| Luminance | 0.1472 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.68
Dark Periwinkle
#665FD1
ΔE00 4.06
Slate Blue
#6A5ACD
ΔE00 4.47
Light Indigo
#6D5ACF
ΔE00 4.59
Electric Blue
#0652FF
ΔE00 5.04
Iris
#6258C4
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5857E8 #E7E857
analogous
#579EE8 #5857E8 #A157E8
triadic
#5857E8 #E85857 #57E858
tetradic
#5857E8 #E8579E #E7E857 #57E8A1
square
#5857E8 #E8579E #E7E857 #57E8A1
split-complementary
#5857E8 #E8A157 #9EE857
monochromatic
#1918AD #2221E1 #5857E8 #8E8DEF #C3C3F7
Accessibility & contrast
On white
5.33
#5857E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#5857E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5857E8
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5857E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5857E8 | 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)
#0071ED
Deuteranopia (green-blind)
#0065E5
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5857e8; /* rgb */ color: rgb(88, 87, 232); /* oklch */ color: oklch(54.6% 0.213 277.0);
Tailwind
colors: {
custom: {
50: '#9687f0',
500: '#5857e8',
950: '#000000',
},
}SCSS
$custom: #5857e8; $custom-light: #9687f0; $custom-dark: #000000;
JSON
{
"hex": "#5857e8",
"rgb": {
"r": 88,
"g": 87,
"b": 232
},
"hsl": {
"h": 240.414,
"s": 75.916,
"l": 62.549
},
"oklch": {
"l": 0.54561,
"c": 0.21293,
"h": 277
},
"luminance": 0.14717
}Semantic roles & 50–950 ramp
primary
#5857E8
secondary
#E7E8B3
accent
#D80DD7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85