#4D56EC#4D56EC
#4D56EC is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.0% C 0.222 H 273.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #4D56EC |
|---|---|
| RGB | rgb(77, 86, 236) |
| HSL | hsl(237, 81%, 61%) |
| HSV | hsv(237, 67%, 93%) |
| CMYK | cmyk(67.4%, 63.6%, 0%, 7.5%) |
| CIE-LAB | lab(44.64, 43.37, -76.64) |
| CIE-LCH | lch(44.64, 88.06, 299.51°) |
| OKLab | oklab(54.04% 0.014 -0.2212) |
| OKLCH | oklch(54.04% 0.222 273.6) |
| XYZ | xyz(21.5236, 14.2875, 80.9641) |
| Luminance | 0.1429 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.28
Electric Blue
#0652FF
ΔE00 3.74
Azul
#1D5DEC
ΔE00 4.92
Dark Periwinkle
#665FD1
ΔE00 5.07
Slate Blue
#6A5ACD
ΔE00 5.60
Light Indigo
#6D5ACF
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D56EC #ECE34D
analogous
#4DA6EC #4D56EC #944DEC
triadic
#4D56EC #EC4D56 #56EC4D
tetradic
#4D56EC #EC4DA6 #ECE34D #4DEC94
square
#4D56EC #EC4DA6 #ECE34D #4DEC94
split-complementary
#4D56EC #EC944D #A6EC4D
monochromatic
#121BAC #1824E4 #4D56EC #848BF2 #BCBFF8
Accessibility & contrast
On white
5.44
#4D56EC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#4D56EC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D56EC
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D56EC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D56EC | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071F1
Deuteranopia (green-blind)
#0062E9
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4d56ec; /* rgb */ color: rgb(77, 86, 236); /* oklch */ color: oklch(54.0% 0.222 273.6);
Tailwind
colors: {
custom: {
50: '#9286f3',
500: '#4d56ec',
950: '#000000',
},
}SCSS
$custom: #4d56ec; $custom-light: #9286f3; $custom-dark: #000000;
JSON
{
"hex": "#4d56ec",
"rgb": {
"r": 77,
"g": 86,
"b": 236
},
"hsl": {
"h": 236.604,
"s": 80.711,
"l": 61.373
},
"oklch": {
"l": 0.5404,
"c": 0.22166,
"h": 273.6
},
"luminance": 0.14289
}Semantic roles & 50–950 ramp
primary
#4D56EC
secondary
#E8E5AD
accent
#D108DD
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85