#4E56D9#4E56D9
#4E56D9 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.197 H 274.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #4E56D9 |
|---|---|
| RGB | rgb(78, 86, 217) |
| HSL | hsl(237, 65%, 58%) |
| HSV | hsv(237, 64%, 85%) |
| CMYK | cmyk(64.1%, 60.4%, 0%, 14.9%) |
| CIE-LAB | lab(43.19, 37.18, -68.23) |
| CIE-LCH | lch(43.19, 77.70, 298.59°) |
| OKLab | oklab(52.52% 0.016 -0.1965) |
| OKLCH | oklch(52.52% 0.197 274.7) |
| XYZ | xyz(18.9899, 13.2834, 67.1954) |
| Luminance | 0.1328 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.57
Iris
#6258C4
ΔE00 4.16
Dark Periwinkle
#665FD1
ΔE00 4.35
Slate Blue
#6A5ACD
ΔE00 4.68
Electric Blue
#0652FF
ΔE00 5.02
Light Indigo
#6D5ACF
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E56D9 #D9D14E
analogous
#4E9BD9 #4E56D9 #8C4ED9
triadic
#4E56D9 #D94E56 #56D94E
tetradic
#4E56D9 #D94E9B #D9D14E #4ED98C
square
#4E56D9 #D94E9B #D9D14E #4ED98C
split-complementary
#4E56D9 #D98C4E #9BD94E
monochromatic
#1F258E #2932C0 #4E56D9 #8086E4 #B3B6EF
Accessibility & contrast
On white
5.74
#4E56D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#4E56D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E56D9
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E56D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E56D9 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4e56d9; /* rgb */ color: rgb(78, 86, 217); /* oklch */ color: oklch(52.5% 0.197 274.7);
Tailwind
colors: {
custom: {
50: '#8e85e6',
500: '#4e56d9',
950: '#000000',
},
}SCSS
$custom: #4e56d9; $custom-light: #8e85e6; $custom-dark: #000000;
JSON
{
"hex": "#4e56d9",
"rgb": {
"r": 78,
"g": 86,
"b": 217
},
"hsl": {
"h": 236.547,
"s": 64.651,
"l": 57.843
},
"oklch": {
"l": 0.52517,
"c": 0.19717,
"h": 274.7
},
"luminance": 0.13285
}Semantic roles & 50–950 ramp
primary
#4E56D9
secondary
#DDDAA6
accent
#DE40E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84