#4E54D5#4E54D5
#4E54D5 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.8% C 0.194 H 275.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #4E54D5 |
|---|---|
| RGB | rgb(78, 84, 213) |
| HSL | hsl(237, 62%, 57%) |
| HSV | hsv(237, 63%, 84%) |
| CMYK | cmyk(63.4%, 60.6%, 0%, 16.5%) |
| CIE-LAB | lab(42.40, 37.08, -67.22) |
| CIE-LCH | lch(42.40, 76.76, 298.88°) |
| OKLab | oklab(51.84% 0.0178 -0.1936) |
| OKLCH | oklch(51.84% 0.194 275.3) |
| XYZ | xyz(18.3185, 12.7629, 64.4360) |
| Luminance | 0.1276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.30
Iris
#6258C4
ΔE00 3.92
Dark Periwinkle
#665FD1
ΔE00 4.66
Slate Blue
#6A5ACD
ΔE00 4.70
Light Indigo
#6D5ACF
ΔE00 5.15
Electric Blue
#0652FF
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E54D5 #D5CF4E
analogous
#4E98D5 #4E54D5 #8B4ED5
triadic
#4E54D5 #D54E54 #54D54E
tetradic
#4E54D5 #D54E98 #D5CF4E #4ED58B
square
#4E54D5 #D54E98 #D5CF4E #4ED58B
split-complementary
#4E54D5 #D58B4E #98D54E
monochromatic
#202588 #2C32BA #4E54D5 #7F84E1 #B1B4EC
Accessibility & contrast
On white
5.91
#4E54D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#4E54D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E54D5
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E54D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E54D5 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#00748C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4e54d5; /* rgb */ color: rgb(78, 84, 213); /* oklch */ color: oklch(51.8% 0.194 275.3);
Tailwind
colors: {
custom: {
50: '#8e84e3',
500: '#4e54d5',
950: '#000000',
},
}SCSS
$custom: #4e54d5; $custom-light: #8e84e3; $custom-dark: #000000;
JSON
{
"hex": "#4e54d5",
"rgb": {
"r": 78,
"g": 84,
"b": 213
},
"hsl": {
"h": 237.333,
"s": 61.644,
"l": 57.059
},
"oklch": {
"l": 0.51842,
"c": 0.19438,
"h": 275.3
},
"luminance": 0.12764
}Semantic roles & 50–950 ramp
primary
#4E54D5
secondary
#DBD8A4
accent
#DE43E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84