#4E5ED8#4E5ED8
#4E5ED8 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.9% C 0.186 H 272.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5ED8 |
|---|---|
| RGB | rgb(78, 94, 216) |
| HSL | hsl(233, 64%, 58%) |
| HSV | hsv(233, 64%, 85%) |
| CMYK | cmyk(63.9%, 56.5%, 0%, 15.3%) |
| CIE-LAB | lab(45.06, 31.90, -64.62) |
| CIE-LCH | lch(45.06, 72.07, 296.28°) |
| OKLab | oklab(53.88% 0.0092 -0.1858) |
| OKLCH | oklch(53.88% 0.186 272.8) |
| XYZ | xyz(19.5351, 14.5813, 66.7374) |
| Luminance | 0.1458 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.21
Dark Periwinkle
#665FD1
ΔE00 3.91
Azul
#1D5DEC
ΔE00 4.12
Royal Blue
#4169E1
ΔE00 4.53
Iris
#6258C4
ΔE00 4.91
Slate Blue
#6A5ACD
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5ED8 #D8C84E
analogous
#4EA3D8 #4E5ED8 #834ED8
triadic
#4E5ED8 #D84E5E #5ED84E
tetradic
#4E5ED8 #D84EA3 #D8C84E #4ED883
square
#4E5ED8 #D84EA3 #D8C84E #4ED883
split-complementary
#4E5ED8 #D8834E #A3D84E
monochromatic
#1F2C8D #2A3BBF #4E5ED8 #808CE3 #B2B9EE
Accessibility & contrast
On white
5.36
#4E5ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#4E5ED8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5ED8
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5ED8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5ED8 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4e5ed8; /* rgb */ color: rgb(78, 94, 216); /* oklch */ color: oklch(53.9% 0.186 272.8);
Tailwind
colors: {
custom: {
50: '#8e8be5',
500: '#4e5ed8',
950: '#000000',
},
}SCSS
$custom: #4e5ed8; $custom-light: #8e8be5; $custom-dark: #000000;
JSON
{
"hex": "#4e5ed8",
"rgb": {
"r": 78,
"g": 94,
"b": 216
},
"hsl": {
"h": 233.043,
"s": 63.889,
"l": 57.647
},
"oklch": {
"l": 0.53879,
"c": 0.18607,
"h": 272.8
},
"luminance": 0.14583
}Semantic roles & 50–950 ramp
primary
#4E5ED8
secondary
#DDD6A5
accent
#D441E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84