#5756E3#5756E3
#5756E3 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.9% C 0.208 H 277.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #5756E3 |
|---|---|
| RGB | rgb(87, 86, 227) |
| HSL | hsl(240, 72%, 61%) |
| HSV | hsv(240, 62%, 89%) |
| CMYK | cmyk(61.7%, 62.1%, 0%, 11%) |
| CIE-LAB | lab(44.56, 41.83, -71.67) |
| CIE-LCH | lch(44.56, 82.98, 300.27°) |
| OKLab | oklab(53.92% 0.0259 -0.2064) |
| OKLCH | oklch(53.92% 0.208 277.2) |
| XYZ | xyz(21.1189, 14.2262, 74.2912) |
| Luminance | 0.1423 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.16
Dark Periwinkle
#665FD1
ΔE00 3.93
Slate Blue
#6A5ACD
ΔE00 4.18
Light Indigo
#6D5ACF
ΔE00 4.37
Iris
#6258C4
ΔE00 4.51
Electric Blue
#0652FF
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5756E3 #E2E356
analogous
#569CE3 #5756E3 #9E56E3
triadic
#5756E3 #E35756 #56E357
tetradic
#5756E3 #E3569C #E2E356 #56E39E
square
#5756E3 #E3569C #E2E356 #56E39E
split-complementary
#5756E3 #E39E56 #9CE356
monochromatic
#1C1BA4 #2524D8 #5756E3 #8B8BEC #BFBFF4
Accessibility & contrast
On white
5.46
#5756E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#5756E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5756E3
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5756E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5756E3 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#0063E0
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5756e3; /* rgb */ color: rgb(87, 86, 227); /* oklch */ color: oklch(53.9% 0.208 277.2);
Tailwind
colors: {
custom: {
50: '#9486ed',
500: '#5756e3',
950: '#000000',
},
}SCSS
$custom: #5756e3; $custom-light: #9486ed; $custom-dark: #000000;
JSON
{
"hex": "#5756e3",
"rgb": {
"r": 87,
"g": 86,
"b": 227
},
"hsl": {
"h": 240.426,
"s": 71.574,
"l": 61.373
},
"oklch": {
"l": 0.53918,
"c": 0.208,
"h": 277.2
},
"luminance": 0.14228
}Semantic roles & 50–950 ramp
primary
#5756E3
secondary
#E4E5B0
accent
#D412D2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84