#5857E3#5857E3
#5857E3 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.2% C 0.207 H 277.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5857E3 |
|---|---|
| RGB | rgb(88, 87, 227) |
| HSL | hsl(240, 71%, 62%) |
| HSV | hsv(240, 62%, 89%) |
| CMYK | cmyk(61.2%, 61.7%, 0%, 11%) |
| CIE-LAB | lab(44.85, 41.38, -71.18) |
| CIE-LCH | lch(44.85, 82.34, 300.17°) |
| OKLab | oklab(54.15% 0.0262 -0.2049) |
| OKLCH | oklch(54.15% 0.207 277.3) |
| XYZ | xyz(21.2933, 14.4355, 74.3224) |
| Luminance | 0.1444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.24
Dark Periwinkle
#665FD1
ΔE00 3.71
Slate Blue
#6A5ACD
ΔE00 4.06
Light Indigo
#6D5ACF
ΔE00 4.25
Iris
#6258C4
ΔE00 4.48
Electric Blue
#0652FF
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5857E3 #E2E357
analogous
#579CE3 #5857E3 #9E57E3
triadic
#5857E3 #E35857 #57E358
tetradic
#5857E3 #E3579C #E2E357 #57E39E
square
#5857E3 #E3579C #E2E357 #57E39E
split-complementary
#5857E3 #E39E57 #9CE357
monochromatic
#1C1BA4 #2524D9 #5857E3 #8C8BEC #C0C0F4
Accessibility & contrast
On white
5.40
#5857E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#5857E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5857E3
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5857E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5857E3 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#007A95
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5857e3; /* rgb */ color: rgb(88, 87, 227); /* oklch */ color: oklch(54.2% 0.207 277.3);
Tailwind
colors: {
custom: {
50: '#9587ed',
500: '#5857e3',
950: '#000000',
},
}SCSS
$custom: #5857e3; $custom-light: #9587ed; $custom-dark: #000000;
JSON
{
"hex": "#5857e3",
"rgb": {
"r": 88,
"g": 87,
"b": 227
},
"hsl": {
"h": 240.429,
"s": 71.429,
"l": 61.569
},
"oklch": {
"l": 0.54153,
"c": 0.20659,
"h": 277.3
},
"luminance": 0.14437
}Semantic roles & 50–950 ramp
primary
#5857E3
secondary
#E5E5B1
accent
#D312D2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84