#4E54D9#4E54D9
#4E54D9 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.2% C 0.200 H 275.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4E54D9 |
|---|---|
| RGB | rgb(78, 84, 217) |
| HSL | hsl(237, 65%, 58%) |
| HSV | hsv(237, 64%, 85%) |
| CMYK | cmyk(64.1%, 61.3%, 0%, 14.9%) |
| CIE-LAB | lab(42.72, 38.41, -69.00) |
| CIE-LCH | lch(42.72, 78.97, 299.10°) |
| OKLab | oklab(52.17% 0.0177 -0.1988) |
| OKLCH | oklch(52.17% 0.2 275.1) |
| XYZ | xyz(18.8325, 12.9685, 67.1429) |
| Luminance | 0.1297 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.09
Iris
#6258C4
ΔE00 4.19
Dark Periwinkle
#665FD1
ΔE00 4.66
Slate Blue
#6A5ACD
ΔE00 4.75
Electric Blue
#0652FF
ΔE00 5.04
Light Indigo
#6D5ACF
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E54D9 #D9D34E
analogous
#4E99D9 #4E54D9 #8D4ED9
triadic
#4E54D9 #D94E54 #54D94E
tetradic
#4E54D9 #D94E99 #D9D34E #4ED98D
square
#4E54D9 #D94E99 #D9D34E #4ED98D
split-complementary
#4E54D9 #D98D4E #99D94E
monochromatic
#1F238E #2930C0 #4E54D9 #8085E4 #B3B5EF
Accessibility & contrast
On white
5.84
#4E54D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#4E54D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E54D9
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E54D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E54D9 | 1.00 | 5.84 | 3.59 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#005FD6
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4e54d9; /* rgb */ color: rgb(78, 84, 217); /* oklch */ color: oklch(52.2% 0.200 275.1);
Tailwind
colors: {
custom: {
50: '#8f84e6',
500: '#4e54d9',
950: '#000000',
},
}SCSS
$custom: #4e54d9; $custom-light: #8f84e6; $custom-dark: #000000;
JSON
{
"hex": "#4e54d9",
"rgb": {
"r": 78,
"g": 84,
"b": 217
},
"hsl": {
"h": 237.41,
"s": 64.651,
"l": 57.843
},
"oklch": {
"l": 0.52169,
"c": 0.19957,
"h": 275.1
},
"luminance": 0.1297
}Semantic roles & 50–950 ramp
primary
#4E54D9
secondary
#DDDBA6
accent
#E040E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84