#5657E6#5657E6
#5657E6 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.3% C 0.211 H 276.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #5657E6 |
|---|---|
| RGB | rgb(86, 87, 230) |
| HSL | hsl(240, 74%, 62%) |
| HSV | hsv(240, 63%, 90%) |
| CMYK | cmyk(62.6%, 62.2%, 0%, 9.8%) |
| CIE-LAB | lab(44.95, 42.05, -72.72) |
| CIE-LCH | lch(44.95, 84.00, 300.04°) |
| OKLab | oklab(54.26% 0.0237 -0.2095) |
| OKLCH | oklch(54.26% 0.211 276.5) |
| XYZ | xyz(21.5242, 14.5062, 76.5133) |
| Luminance | 0.1451 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.27
Dark Periwinkle
#665FD1
ΔE00 4.03
Slate Blue
#6A5ACD
ΔE00 4.46
Light Indigo
#6D5ACF
ΔE00 4.64
Iris
#6258C4
ΔE00 4.89
Electric Blue
#0652FF
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5657E6 #E6E556
analogous
#569FE6 #5657E6 #9D56E6
triadic
#5657E6 #E65657 #57E656
tetradic
#5657E6 #E6569F #E6E556 #56E69D
square
#5657E6 #E6569F #E6E556 #56E69D
split-complementary
#5657E6 #E69D56 #9FE656
monochromatic
#191AA9 #2122DE #5657E6 #8B8CEE #C1C1F6
Accessibility & contrast
On white
5.38
#5657E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#5657E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5657E6
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5657E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5657E6 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5657e6; /* rgb */ color: rgb(86, 87, 230); /* oklch */ color: oklch(54.3% 0.211 276.5);
Tailwind
colors: {
custom: {
50: '#9487ef',
500: '#5657e6',
950: '#000000',
},
}SCSS
$custom: #5657e6; $custom-light: #9487ef; $custom-dark: #000000;
JSON
{
"hex": "#5657e6",
"rgb": {
"r": 86,
"g": 87,
"b": 230
},
"hsl": {
"h": 239.583,
"s": 74.227,
"l": 61.961
},
"oklch": {
"l": 0.54263,
"c": 0.21084,
"h": 276.5
},
"luminance": 0.14508
}Semantic roles & 50–950 ramp
primary
#5657E6
secondary
#E6E6B1
accent
#D50FD6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85