#4E54D8#4E54D8
#4E54D8 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.1% C 0.198 H 275.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #4E54D8 |
|---|---|
| RGB | rgb(78, 84, 216) |
| HSL | hsl(237, 64%, 58%) |
| HSV | hsv(237, 64%, 85%) |
| CMYK | cmyk(63.9%, 61.1%, 0%, 15.3%) |
| CIE-LAB | lab(42.64, 38.07, -68.55) |
| CIE-LCH | lch(42.64, 78.42, 299.05°) |
| OKLab | oklab(52.09% 0.0177 -0.1975) |
| OKLCH | oklch(52.09% 0.198 275.1) |
| XYZ | xyz(18.7028, 12.9166, 66.4600) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.12
Iris
#6258C4
ΔE00 4.12
Dark Periwinkle
#665FD1
ΔE00 4.66
Slate Blue
#6A5ACD
ΔE00 4.74
Electric Blue
#0652FF
ΔE00 5.13
Light Indigo
#6D5ACF
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E54D8 #D8D24E
analogous
#4E99D8 #4E54D8 #8D4ED8
triadic
#4E54D8 #D84E54 #54D84E
tetradic
#4E54D8 #D84E99 #D8D24E #4ED88D
square
#4E54D8 #D84E99 #D8D24E #4ED88D
split-complementary
#4E54D8 #D88D4E #99D84E
monochromatic
#1F248D #2A31BF #4E54D8 #8084E3 #B2B5EE
Accessibility & contrast
On white
5.86
#4E54D8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#4E54D8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E54D8
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E54D8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E54D8 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4e54d8; /* rgb */ color: rgb(78, 84, 216); /* oklch */ color: oklch(52.1% 0.198 275.1);
Tailwind
colors: {
custom: {
50: '#8e84e5',
500: '#4e54d8',
950: '#000000',
},
}SCSS
$custom: #4e54d8; $custom-light: #8e84e5; $custom-dark: #000000;
JSON
{
"hex": "#4e54d8",
"rgb": {
"r": 78,
"g": 84,
"b": 216
},
"hsl": {
"h": 237.391,
"s": 63.889,
"l": 57.647
},
"oklch": {
"l": 0.52087,
"c": 0.19828,
"h": 275.1
},
"luminance": 0.12918
}Semantic roles & 50–950 ramp
primary
#4E54D8
secondary
#DDDAA5
accent
#E041E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84