#5757E2#5757E2
#5757E2 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.0% C 0.206 H 277.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5757E2 |
|---|---|
| RGB | rgb(87, 87, 226) |
| HSL | hsl(240, 71%, 61%) |
| HSV | hsv(240, 62%, 89%) |
| CMYK | cmyk(61.5%, 61.5%, 0%, 11.4%) |
| CIE-LAB | lab(44.71, 40.91, -70.85) |
| CIE-LCH | lch(44.71, 81.81, 300.00°) |
| OKLab | oklab(54% 0.0251 -0.204) |
| OKLCH | oklch(54% 0.206 277) |
| XYZ | xyz(21.0617, 14.3320, 73.5932) |
| Luminance | 0.1433 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.03
Dark Periwinkle
#665FD1
ΔE00 3.71
Slate Blue
#6A5ACD
ΔE00 4.08
Light Indigo
#6D5ACF
ΔE00 4.29
Iris
#6258C4
ΔE00 4.41
Electric Blue
#0652FF
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5757E2 #E2E257
analogous
#579DE2 #5757E2 #9D57E2
triadic
#5757E2 #E25757 #57E257
tetradic
#5757E2 #E2579D #E2E257 #57E29D
square
#5757E2 #E2579D #E2E257 #57E29D
split-complementary
#5757E2 #E29D57 #9DE257
monochromatic
#1C1CA3 #2525D7 #5757E2 #8B8BEB #BFBFF4
Accessibility & contrast
On white
5.43
#5757E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#5757E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5757E2
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5757E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5757E2 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0064DF
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5757e2; /* rgb */ color: rgb(87, 87, 226); /* oklch */ color: oklch(54.0% 0.206 277.0);
Tailwind
colors: {
custom: {
50: '#9487ec',
500: '#5757e2',
950: '#000000',
},
}SCSS
$custom: #5757e2; $custom-light: #9487ec; $custom-dark: #000000;
JSON
{
"hex": "#5757e2",
"rgb": {
"r": 87,
"g": 87,
"b": 226
},
"hsl": {
"h": 240,
"s": 70.558,
"l": 61.373
},
"oklch": {
"l": 0.54004,
"c": 0.20553,
"h": 277
},
"luminance": 0.14334
}Semantic roles & 50–950 ramp
primary
#5757E2
secondary
#E4E4B0
accent
#D313D3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84