#5656CE#5656CE
#5656CE is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.181 H 278.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5656CE |
|---|---|
| RGB | rgb(86, 86, 206) |
| HSL | hsl(240, 55%, 57%) |
| HSV | hsv(240, 58%, 81%) |
| CMYK | cmyk(58.3%, 58.3%, 0%, 19.2%) |
| CIE-LAB | lab(42.90, 34.87, -62.37) |
| CIE-LCH | lch(42.90, 71.45, 299.21°) |
| OKLab | oklab(52.18% 0.0255 -0.1791) |
| OKLCH | oklch(52.18% 0.181 278.1) |
| XYZ | xyz(18.3026, 13.0889, 59.9425) |
| Luminance | 0.1309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.22
Iris
#6258C4
ΔE00 2.51
Slate Blue
#6A5ACD
ΔE00 3.50
Dark Periwinkle
#665FD1
ΔE00 3.61
Light Indigo
#6D5ACF
ΔE00 4.02
Bluey Purple
#6241C7
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5656CE #CECE56
analogous
#5692CE #5656CE #9256CE
triadic
#5656CE #CE5656 #56CE56
tetradic
#5656CE #CE5692 #CECE56 #56CE92
square
#5656CE #CE5692 #CECE56 #56CE92
split-complementary
#5656CE #CE9256 #92CE56
monochromatic
#262683 #3434B3 #5656CE #8585DC #B5B5EA
Accessibility & contrast
On white
5.80
#5656CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#5656CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5656CE
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5656CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5656CE | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#00738A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5656ce; /* rgb */ color: rgb(86, 86, 206); /* oklch */ color: oklch(52.2% 0.181 278.1);
Tailwind
colors: {
custom: {
50: '#9086de',
500: '#5656ce',
950: '#000000',
},
}SCSS
$custom: #5656ce; $custom-light: #9086de; $custom-dark: #000000;
JSON
{
"hex": "#5656ce",
"rgb": {
"r": 86,
"g": 86,
"b": 206
},
"hsl": {
"h": 240,
"s": 55.046,
"l": 57.255
},
"oklch": {
"l": 0.52182,
"c": 0.18089,
"h": 278.1
},
"luminance": 0.1309
}Semantic roles & 50–950 ramp
primary
#5656CE
secondary
#D8D8A8
accent
#DE49DE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83