#4C56E7#4C56E7
#4C56E7 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.6% C 0.216 H 273.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #4C56E7 |
|---|---|
| RGB | rgb(76, 86, 231) |
| HSL | hsl(236, 76%, 60%) |
| HSV | hsv(236, 67%, 91%) |
| CMYK | cmyk(67.1%, 62.8%, 0%, 9.4%) |
| CIE-LAB | lab(44.18, 41.58, -74.58) |
| CIE-LCH | lch(44.18, 85.39, 299.14°) |
| OKLab | oklab(53.56% 0.0132 -0.2152) |
| OKLCH | oklch(53.56% 0.216 273.5) |
| XYZ | xyz(20.7273, 13.9597, 77.1880) |
| Luminance | 0.1396 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.61
Electric Blue
#0652FF
ΔE00 3.85
Azul
#1D5DEC
ΔE00 4.73
Dark Periwinkle
#665FD1
ΔE00 4.89
Slate Blue
#6A5ACD
ΔE00 5.39
Iris
#6258C4
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C56E7 #E7DD4C
analogous
#4CA3E7 #4C56E7 #8F4CE7
triadic
#4C56E7 #E74C56 #56E74C
tetradic
#4C56E7 #E74CA3 #E7DD4C #4CE78F
square
#4C56E7 #E74CA3 #E7DD4C #4CE78F
split-complementary
#4C56E7 #E78F4C #A3E74C
monochromatic
#161FA3 #1D29D9 #4C56E7 #8289EE #B8BCF5
Accessibility & contrast
On white
5.54
#4C56E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#4C56E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C56E7
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C56E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C56E7 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#0061E4
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4c56e7; /* rgb */ color: rgb(76, 86, 231); /* oklch */ color: oklch(53.6% 0.216 273.5);
Tailwind
colors: {
custom: {
50: '#9086f0',
500: '#4c56e7',
950: '#000000',
},
}SCSS
$custom: #4c56e7; $custom-light: #9086f0; $custom-dark: #000000;
JSON
{
"hex": "#4c56e7",
"rgb": {
"r": 76,
"g": 86,
"b": 231
},
"hsl": {
"h": 236.129,
"s": 76.355,
"l": 60.196
},
"oklch": {
"l": 0.53556,
"c": 0.21562,
"h": 273.5
},
"luminance": 0.13962
}Semantic roles & 50–950 ramp
primary
#4C56E7
secondary
#E5E1AA
accent
#CB0DD9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85