#4E5EC6#4E5EC6
#4E5EC6 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.5% C 0.162 H 273.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5EC6 |
|---|---|
| RGB | rgb(78, 94, 198) |
| HSL | hsl(232, 51%, 54%) |
| HSV | hsv(232, 61%, 78%) |
| CMYK | cmyk(60.6%, 52.5%, 0%, 22.4%) |
| CIE-LAB | lab(43.80, 25.79, -56.32) |
| CIE-LCH | lch(43.80, 61.94, 294.60°) |
| OKLab | oklab(52.54% 0.0084 -0.1614) |
| OKLCH | oklch(52.54% 0.162 273) |
| XYZ | xyz(17.3343, 13.7009, 55.1462) |
| Luminance | 0.1370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.61
Iris
#6258C4
ΔE00 4.53
Dark Periwinkle
#665FD1
ΔE00 4.56
Azul
#1D5DEC
ΔE00 5.47
Royal Blue
#4169E1
ΔE00 5.48
Slate Blue
#6A5ACD
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5EC6 #C6B64E
analogous
#4E9AC6 #4E5EC6 #7A4EC6
triadic
#4E5EC6 #C64E5E #5EC64E
tetradic
#4E5EC6 #C64E9A #C6B64E #4EC67A
square
#4E5EC6 #C64E9A #C6B64E #4EC67A
split-complementary
#4E5EC6 #C67A4E #9AC64E
monochromatic
#253074 #3443A2 #4E5EC6 #7C88D5 #ABB2E4
Accessibility & contrast
On white
5.61
#4E5EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#4E5EC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5EC6
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5EC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5EC6 | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F6DCA
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4e5ec6; /* rgb */ color: rgb(78, 94, 198); /* oklch */ color: oklch(52.5% 0.162 273.0);
Tailwind
colors: {
custom: {
50: '#8b8bd8',
500: '#4e5ec6',
950: '#000000',
},
}SCSS
$custom: #4e5ec6; $custom-light: #8b8bd8; $custom-dark: #000000;
JSON
{
"hex": "#4e5ec6",
"rgb": {
"r": 78,
"g": 94,
"b": 198
},
"hsl": {
"h": 232,
"s": 51.282,
"l": 54.118
},
"oklch": {
"l": 0.52541,
"c": 0.16163,
"h": 273
},
"luminance": 0.13702
}Semantic roles & 50–950 ramp
primary
#4E5EC6
secondary
#D1CB9E
accent
#C84DDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83