#5756E2#5756E2
#5756E2 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.8% C 0.207 H 277.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #5756E2 |
|---|---|
| RGB | rgb(87, 86, 226) |
| HSL | hsl(240, 71%, 61%) |
| HSV | hsv(240, 62%, 89%) |
| CMYK | cmyk(61.5%, 61.9%, 0%, 11.4%) |
| CIE-LAB | lab(44.48, 41.50, -71.23) |
| CIE-LCH | lch(44.48, 82.44, 300.23°) |
| OKLab | oklab(53.84% 0.026 -0.2051) |
| OKLCH | oklch(53.84% 0.207 277.2) |
| XYZ | xyz(20.9813, 14.1711, 73.5664) |
| Luminance | 0.1417 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.09
Dark Periwinkle
#665FD1
ΔE00 3.88
Slate Blue
#6A5ACD
ΔE00 4.10
Light Indigo
#6D5ACF
ΔE00 4.31
Iris
#6258C4
ΔE00 4.40
Electric Blue
#0652FF
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5756E2 #E1E256
analogous
#569BE2 #5756E2 #9D56E2
triadic
#5756E2 #E25756 #56E257
tetradic
#5756E2 #E2569B #E1E256 #56E29D
square
#5756E2 #E2569B #E1E256 #56E29D
split-complementary
#5756E2 #E29D56 #9BE256
monochromatic
#1D1CA2 #2625D6 #5756E2 #8B8AEB #BFBEF4
Accessibility & contrast
On white
5.48
#5756E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#5756E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5756E2
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5756E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5756E2 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5756e2; /* rgb */ color: rgb(87, 86, 226); /* oklch */ color: oklch(53.8% 0.207 277.2);
Tailwind
colors: {
custom: {
50: '#9486ec',
500: '#5756e2',
950: '#000000',
},
}SCSS
$custom: #5756e2; $custom-light: #9486ec; $custom-dark: #000000;
JSON
{
"hex": "#5756e2",
"rgb": {
"r": 87,
"g": 86,
"b": 226
},
"hsl": {
"h": 240.429,
"s": 70.707,
"l": 61.176
},
"oklch": {
"l": 0.53837,
"c": 0.20672,
"h": 277.2
},
"luminance": 0.14173
}Semantic roles & 50–950 ramp
primary
#5756E2
secondary
#E4E4B0
accent
#D313D1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84