#5656E2#5656E2
#5656E2 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.8% C 0.207 H 276.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #5656E2 |
|---|---|
| RGB | rgb(86, 86, 226) |
| HSL | hsl(240, 71%, 61%) |
| HSV | hsv(240, 62%, 89%) |
| CMYK | cmyk(61.9%, 61.9%, 0%, 11.4%) |
| CIE-LAB | lab(44.41, 41.35, -71.34) |
| CIE-LCH | lch(44.41, 82.46, 300.10°) |
| OKLab | oklab(53.77% 0.0248 -0.2054) |
| OKLCH | oklch(53.77% 0.207 276.9) |
| XYZ | xyz(20.8886, 14.1233, 73.5621) |
| Luminance | 0.1412 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.96
Dark Periwinkle
#665FD1
ΔE00 3.94
Slate Blue
#6A5ACD
ΔE00 4.20
Light Indigo
#6D5ACF
ΔE00 4.42
Iris
#6258C4
ΔE00 4.44
Electric Blue
#0652FF
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5656E2 #E2E256
analogous
#569CE2 #5656E2 #9C56E2
triadic
#5656E2 #E25656 #56E256
tetradic
#5656E2 #E2569C #E2E256 #56E29C
square
#5656E2 #E2569C #E2E256 #56E29C
split-complementary
#5656E2 #E29C56 #9CE256
monochromatic
#1C1CA2 #2525D6 #5656E2 #8A8AEB #BEBEF4
Accessibility & contrast
On white
5.49
#5656E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#5656E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5656E2
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5656E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5656E2 | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 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: #5656e2; /* rgb */ color: rgb(86, 86, 226); /* oklch */ color: oklch(53.8% 0.207 276.9);
Tailwind
colors: {
custom: {
50: '#9486ec',
500: '#5656e2',
950: '#000000',
},
}SCSS
$custom: #5656e2; $custom-light: #9486ec; $custom-dark: #000000;
JSON
{
"hex": "#5656e2",
"rgb": {
"r": 86,
"g": 86,
"b": 226
},
"hsl": {
"h": 240,
"s": 70.707,
"l": 61.176
},
"oklch": {
"l": 0.53769,
"c": 0.20694,
"h": 276.9
},
"luminance": 0.14125
}Semantic roles & 50–950 ramp
primary
#5656E2
secondary
#E4E4B0
accent
#D313D3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84