#5756E9#5756E9
#5756E9 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.4% C 0.216 H 276.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5756E9 |
|---|---|
| RGB | rgb(87, 86, 233) |
| HSL | hsl(240, 77%, 63%) |
| HSV | hsv(240, 63%, 91%) |
| CMYK | cmyk(62.7%, 63.1%, 0%, 8.6%) |
| CIE-LAB | lab(45.03, 43.76, -74.29) |
| CIE-LCH | lch(45.03, 86.21, 300.50°) |
| OKLab | oklab(54.41% 0.0255 -0.2141) |
| OKLCH | oklch(54.41% 0.216 276.8) |
| XYZ | xyz(21.9615, 14.5632, 78.7287) |
| Luminance | 0.1457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.70
Dark Periwinkle
#665FD1
ΔE00 4.32
Slate Blue
#6A5ACD
ΔE00 4.64
Light Indigo
#6D5ACF
ΔE00 4.76
Electric Blue
#0652FF
ΔE00 4.87
Iris
#6258C4
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5756E9 #E8E956
analogous
#569FE9 #5756E9 #A056E9
triadic
#5756E9 #E95756 #56E957
tetradic
#5756E9 #E9569F #E8E956 #56E9A0
square
#5756E9 #E9569F #E8E956 #56E9A0
split-complementary
#5756E9 #E9A056 #9FE956
monochromatic
#1817AE #2120E2 #5756E9 #8D8CF0 #C3C2F7
Accessibility & contrast
On white
5.37
#5756E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#5756E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5756E9
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5756E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5756E9 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#0064E6
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5756e9; /* rgb */ color: rgb(87, 86, 233); /* oklch */ color: oklch(54.4% 0.216 276.8);
Tailwind
colors: {
custom: {
50: '#9686f1',
500: '#5756e9',
950: '#000000',
},
}SCSS
$custom: #5756e9; $custom-light: #9686f1; $custom-dark: #000000;
JSON
{
"hex": "#5756e9",
"rgb": {
"r": 87,
"g": 86,
"b": 233
},
"hsl": {
"h": 240.408,
"s": 76.963,
"l": 62.549
},
"oklch": {
"l": 0.54413,
"c": 0.21558,
"h": 276.8
},
"luminance": 0.14565
}Semantic roles & 50–950 ramp
primary
#5756E9
secondary
#E8E8B3
accent
#D90CD8
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85