#4E5ED6#4E5ED6
#4E5ED6 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.183 H 272.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5ED6 |
|---|---|
| RGB | rgb(78, 94, 214) |
| HSL | hsl(233, 62%, 57%) |
| HSV | hsv(233, 64%, 84%) |
| CMYK | cmyk(63.6%, 56.1%, 0%, 16.1%) |
| CIE-LAB | lab(44.91, 31.22, -63.71) |
| CIE-LCH | lch(44.91, 70.95, 296.11°) |
| OKLab | oklab(53.73% 0.0092 -0.1832) |
| OKLCH | oklch(53.73% 0.183 272.9) |
| XYZ | xyz(19.2781, 14.4785, 65.3840) |
| Luminance | 0.1448 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.27
Dark Periwinkle
#665FD1
ΔE00 3.91
Azul
#1D5DEC
ΔE00 4.22
Royal Blue
#4169E1
ΔE00 4.58
Iris
#6258C4
ΔE00 4.81
Slate Blue
#6A5ACD
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5ED6 #D6C64E
analogous
#4EA2D6 #4E5ED6 #824ED6
triadic
#4E5ED6 #D64E5E #5ED64E
tetradic
#4E5ED6 #D64EA2 #D6C64E #4ED682
square
#4E5ED6 #D64EA2 #D6C64E #4ED682
split-complementary
#4E5ED6 #D6824E #A2D64E
monochromatic
#202C8A #2B3CBB #4E5ED6 #808BE2 #B1B8ED
Accessibility & contrast
On white
5.39
#4E5ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#4E5ED6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5ED6
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5ED6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5ED6 | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#0064D4
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4e5ed6; /* rgb */ color: rgb(78, 94, 214); /* oklch */ color: oklch(53.7% 0.183 272.9);
Tailwind
colors: {
custom: {
50: '#8d8be3',
500: '#4e5ed6',
950: '#000000',
},
}SCSS
$custom: #4e5ed6; $custom-light: #8d8be3; $custom-dark: #000000;
JSON
{
"hex": "#4e5ed6",
"rgb": {
"r": 78,
"g": 94,
"b": 214
},
"hsl": {
"h": 232.941,
"s": 62.385,
"l": 57.255
},
"oklch": {
"l": 0.53726,
"c": 0.1834,
"h": 272.9
},
"luminance": 0.1448
}Semantic roles & 50–950 ramp
primary
#4E5ED6
secondary
#DBD5A4
accent
#D242E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84