#5656E6#5656E6
#5656E6 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.1% C 0.212 H 276.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5656E6 |
|---|---|
| RGB | rgb(86, 86, 230) |
| HSL | hsl(240, 74%, 62%) |
| HSV | hsv(240, 63%, 90%) |
| CMYK | cmyk(62.6%, 62.6%, 0%, 9.8%) |
| CIE-LAB | lab(44.72, 42.64, -73.09) |
| CIE-LCH | lch(44.72, 84.62, 300.26°) |
| OKLab | oklab(54.1% 0.0245 -0.2106) |
| OKLCH | oklch(54.1% 0.212 276.6) |
| XYZ | xyz(21.4438, 14.3454, 76.4865) |
| Luminance | 0.1435 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.31
Dark Periwinkle
#665FD1
ΔE00 4.17
Slate Blue
#6A5ACD
ΔE00 4.48
Light Indigo
#6D5ACF
ΔE00 4.65
Electric Blue
#0652FF
ΔE00 4.87
Iris
#6258C4
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5656E6 #E6E656
analogous
#569EE6 #5656E6 #9E56E6
triadic
#5656E6 #E65656 #56E656
tetradic
#5656E6 #E6569E #E6E656 #56E69E
square
#5656E6 #E6569E #E6E656 #56E69E
split-complementary
#5656E6 #E69E56 #9EE656
monochromatic
#1919A9 #2121DE #5656E6 #8B8BEE #C1C1F6
Accessibility & contrast
On white
5.43
#5656E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#5656E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5656E6
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5656E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5656E6 | 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)
#0070EB
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5656e6; /* rgb */ color: rgb(86, 86, 230); /* oklch */ color: oklch(54.1% 0.212 276.6);
Tailwind
colors: {
custom: {
50: '#9586ef',
500: '#5656e6',
950: '#000000',
},
}SCSS
$custom: #5656e6; $custom-light: #9586ef; $custom-dark: #000000;
JSON
{
"hex": "#5656e6",
"rgb": {
"r": 86,
"g": 86,
"b": 230
},
"hsl": {
"h": 240,
"s": 74.227,
"l": 61.961
},
"oklch": {
"l": 0.54098,
"c": 0.21201,
"h": 276.6
},
"luminance": 0.14347
}Semantic roles & 50–950 ramp
primary
#5656E6
secondary
#E6E6B1
accent
#D60FD6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85