#4C56EB#4C56EB
#4C56EB is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.9% C 0.221 H 273.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #4C56EB |
|---|---|
| RGB | rgb(76, 86, 235) |
| HSL | hsl(236, 80%, 61%) |
| HSV | hsv(236, 68%, 92%) |
| CMYK | cmyk(67.7%, 63.4%, 0%, 7.8%) |
| CIE-LAB | lab(44.50, 42.91, -76.31) |
| CIE-LCH | lch(44.50, 87.55, 299.35°) |
| OKLab | oklab(53.9% 0.013 -0.2203) |
| OKLCH | oklch(53.9% 0.221 273.4) |
| XYZ | xyz(21.2987, 14.1882, 80.1973) |
| Luminance | 0.1419 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.11
Electric Blue
#0652FF
ΔE00 3.68
Azul
#1D5DEC
ΔE00 4.79
Dark Periwinkle
#665FD1
ΔE00 5.08
Slate Blue
#6A5ACD
ΔE00 5.61
Iris
#6258C4
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C56EB #EBE14C
analogous
#4CA6EB #4C56EB #914CEB
triadic
#4C56EB #EB4C56 #56EB4C
tetradic
#4C56EB #EB4CA6 #EBE14C #4CEB91
square
#4C56EB #EB4CA6 #EBE14C #4CEB91
split-complementary
#4C56EB #EB914C #A6EB4C
monochromatic
#131CAA #1926E1 #4C56EB #838AF1 #BABEF7
Accessibility & contrast
On white
5.47
#4C56EB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#4C56EB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C56EB
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C56EB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C56EB | 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)
#0071F0
Deuteranopia (green-blind)
#0062E8
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #4c56eb; /* rgb */ color: rgb(76, 86, 235); /* oklch */ color: oklch(53.9% 0.221 273.4);
Tailwind
colors: {
custom: {
50: '#9186f3',
500: '#4c56eb',
950: '#000000',
},
}SCSS
$custom: #4c56eb; $custom-light: #9186f3; $custom-dark: #000000;
JSON
{
"hex": "#4c56eb",
"rgb": {
"r": 76,
"g": 86,
"b": 235
},
"hsl": {
"h": 236.226,
"s": 79.899,
"l": 60.98
},
"oklch": {
"l": 0.53896,
"c": 0.22065,
"h": 273.4
},
"luminance": 0.1419
}Semantic roles & 50–950 ramp
primary
#4C56EB
secondary
#E7E4AB
accent
#CF09DC
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85