#5556EC#5556EC
#5556EC is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.5% C 0.220 H 276.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5556EC |
|---|---|
| RGB | rgb(85, 86, 236) |
| HSL | hsl(240, 80%, 63%) |
| HSV | hsv(240, 64%, 93%) |
| CMYK | cmyk(64%, 63.6%, 0%, 7.5%) |
| CIE-LAB | lab(45.14, 44.44, -75.81) |
| CIE-LCH | lch(45.14, 87.87, 300.38°) |
| OKLab | oklab(54.53% 0.0229 -0.2186) |
| OKLCH | oklch(54.53% 0.22 276) |
| XYZ | xyz(22.2095, 14.6411, 80.9962) |
| Luminance | 0.1464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.83
Electric Blue
#0652FF
ΔE00 4.57
Dark Periwinkle
#665FD1
ΔE00 4.63
Slate Blue
#6A5ACD
ΔE00 5.03
Light Indigo
#6D5ACF
ΔE00 5.13
Iris
#6258C4
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5556EC #ECEB55
analogous
#55A1EC #5556EC #A055EC
triadic
#5556EC #EC5556 #56EC55
tetradic
#5556EC #EC55A1 #ECEB55 #55ECA0
square
#5556EC #EC55A1 #ECEB55 #55ECA0
split-complementary
#5556EC #ECA055 #A1EC55
monochromatic
#1415B3 #1E1FE6 #5556EC #8C8DF2 #C3C3F8
Accessibility & contrast
On white
5.35
#5556EC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#5556EC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5556EC
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5556EC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5556EC | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#0064E9
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5556ec; /* rgb */ color: rgb(85, 86, 236); /* oklch */ color: oklch(54.5% 0.220 276.0);
Tailwind
colors: {
custom: {
50: '#9586f3',
500: '#5556ec',
950: '#000000',
},
}SCSS
$custom: #5556ec; $custom-light: #9586f3; $custom-dark: #000000;
JSON
{
"hex": "#5556ec",
"rgb": {
"r": 85,
"g": 86,
"b": 236
},
"hsl": {
"h": 239.603,
"s": 79.894,
"l": 62.941
},
"oklch": {
"l": 0.54532,
"c": 0.21978,
"h": 276
},
"luminance": 0.14643
}Semantic roles & 50–950 ramp
primary
#5556EC
secondary
#EAE9B3
accent
#DB09DC
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85