#4E56D7#4E56D7
#4E56D7 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.195 H 274.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #4E56D7 |
|---|---|
| RGB | rgb(78, 86, 215) |
| HSL | hsl(236, 63%, 57%) |
| HSV | hsv(236, 64%, 84%) |
| CMYK | cmyk(63.7%, 60%, 0%, 15.7%) |
| CIE-LAB | lab(43.03, 36.52, -67.34) |
| CIE-LCH | lch(43.03, 76.60, 298.47°) |
| OKLab | oklab(52.36% 0.0161 -0.1939) |
| OKLCH | oklch(52.36% 0.195 274.7) |
| XYZ | xyz(18.7314, 13.1800, 65.8337) |
| Luminance | 0.1318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.70
Iris
#6258C4
ΔE00 4.02
Dark Periwinkle
#665FD1
ΔE00 4.34
Slate Blue
#6A5ACD
ΔE00 4.65
Light Indigo
#6D5ACF
ΔE00 5.09
Electric Blue
#0652FF
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E56D7 #D7CF4E
analogous
#4E9BD7 #4E56D7 #8A4ED7
triadic
#4E56D7 #D74E56 #56D74E
tetradic
#4E56D7 #D74E9B #D7CF4E #4ED78A
square
#4E56D7 #D74E9B #D7CF4E #4ED78A
split-complementary
#4E56D7 #D78A4E #9BD74E
monochromatic
#1F268B #2B33BD #4E56D7 #8086E2 #B2B5EE
Accessibility & contrast
On white
5.77
#4E56D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#4E56D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E56D7
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E56D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E56D7 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4e56d7; /* rgb */ color: rgb(78, 86, 215); /* oklch */ color: oklch(52.4% 0.195 274.7);
Tailwind
colors: {
custom: {
50: '#8e85e4',
500: '#4e56d7',
950: '#000000',
},
}SCSS
$custom: #4e56d7; $custom-light: #8e85e4; $custom-dark: #000000;
JSON
{
"hex": "#4e56d7",
"rgb": {
"r": 78,
"g": 86,
"b": 215
},
"hsl": {
"h": 236.496,
"s": 63.134,
"l": 57.451
},
"oklch": {
"l": 0.52355,
"c": 0.19457,
"h": 274.7
},
"luminance": 0.13182
}Semantic roles & 50–950 ramp
primary
#4E56D7
secondary
#DCD9A5
accent
#DD42E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84