#5656E3#5656E3
#5656E3 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.9% C 0.208 H 276.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #5656E3 |
|---|---|
| RGB | rgb(86, 86, 227) |
| HSL | hsl(240, 72%, 61%) |
| HSV | hsv(240, 62%, 89%) |
| CMYK | cmyk(62.1%, 62.1%, 0%, 11%) |
| CIE-LAB | lab(44.49, 41.67, -71.78) |
| CIE-LCH | lch(44.49, 83.00, 300.14°) |
| OKLab | oklab(53.85% 0.0247 -0.2067) |
| OKLCH | oklch(53.85% 0.208 276.8) |
| XYZ | xyz(21.0262, 14.1784, 74.2868) |
| Luminance | 0.1418 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.04
Dark Periwinkle
#665FD1
ΔE00 4.00
Slate Blue
#6A5ACD
ΔE00 4.26
Light Indigo
#6D5ACF
ΔE00 4.47
Iris
#6258C4
ΔE00 4.55
Electric Blue
#0652FF
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5656E3 #E3E356
analogous
#569DE3 #5656E3 #9D56E3
triadic
#5656E3 #E35656 #56E356
tetradic
#5656E3 #E3569D #E3E356 #56E39D
square
#5656E3 #E3569D #E3E356 #56E39D
split-complementary
#5656E3 #E39D56 #9DE356
monochromatic
#1B1BA4 #2424D8 #5656E3 #8B8BEC #BFBFF4
Accessibility & contrast
On white
5.47
#5656E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#5656E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5656E3
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5656E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5656E3 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#0063E0
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5656e3; /* rgb */ color: rgb(86, 86, 227); /* oklch */ color: oklch(53.9% 0.208 276.8);
Tailwind
colors: {
custom: {
50: '#9486ed',
500: '#5656e3',
950: '#000000',
},
}SCSS
$custom: #5656e3; $custom-light: #9486ed; $custom-dark: #000000;
JSON
{
"hex": "#5656e3",
"rgb": {
"r": 86,
"g": 86,
"b": 227
},
"hsl": {
"h": 240,
"s": 71.574,
"l": 61.373
},
"oklch": {
"l": 0.53851,
"c": 0.20821,
"h": 276.8
},
"luminance": 0.1418
}Semantic roles & 50–950 ramp
primary
#5656E3
secondary
#E5E5B0
accent
#D412D4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84