#4E54D7#4E54D7
#4E54D7 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.0% C 0.197 H 275.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4E54D7 |
|---|---|
| RGB | rgb(78, 84, 215) |
| HSL | hsl(237, 63%, 57%) |
| HSV | hsv(237, 64%, 84%) |
| CMYK | cmyk(63.7%, 60.9%, 0%, 15.7%) |
| CIE-LAB | lab(42.56, 37.74, -68.11) |
| CIE-LCH | lch(42.56, 77.87, 298.99°) |
| OKLab | oklab(52.01% 0.0178 -0.1962) |
| OKLCH | oklch(52.01% 0.197 275.2) |
| XYZ | xyz(18.5739, 12.8651, 65.7812) |
| Luminance | 0.1287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.17
Iris
#6258C4
ΔE00 4.05
Dark Periwinkle
#665FD1
ΔE00 4.65
Slate Blue
#6A5ACD
ΔE00 4.72
Light Indigo
#6D5ACF
ΔE00 5.15
Electric Blue
#0652FF
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E54D7 #D7D14E
analogous
#4E99D7 #4E54D7 #8C4ED7
triadic
#4E54D7 #D74E54 #54D74E
tetradic
#4E54D7 #D74E99 #D7D14E #4ED78C
square
#4E54D7 #D74E99 #D7D14E #4ED78C
split-complementary
#4E54D7 #D78C4E #99D74E
monochromatic
#1F248B #2B31BD #4E54D7 #8084E2 #B2B4EE
Accessibility & contrast
On white
5.88
#4E54D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#4E54D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E54D7
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E54D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E54D7 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#005ED4
Tritanopia (blue-blind)
#00758D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4e54d7; /* rgb */ color: rgb(78, 84, 215); /* oklch */ color: oklch(52.0% 0.197 275.2);
Tailwind
colors: {
custom: {
50: '#8e84e4',
500: '#4e54d7',
950: '#000000',
},
}SCSS
$custom: #4e54d7; $custom-light: #8e84e4; $custom-dark: #000000;
JSON
{
"hex": "#4e54d7",
"rgb": {
"r": 78,
"g": 84,
"b": 215
},
"hsl": {
"h": 237.372,
"s": 63.134,
"l": 57.451
},
"oklch": {
"l": 0.52005,
"c": 0.19698,
"h": 275.2
},
"luminance": 0.12867
}Semantic roles & 50–950 ramp
primary
#4E54D7
secondary
#DCDAA5
accent
#DF42E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84