#4E5EC4#4E5EC4
#4E5EC4 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.4% C 0.159 H 273.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5EC4 |
|---|---|
| RGB | rgb(78, 94, 196) |
| HSL | hsl(232, 50%, 54%) |
| HSV | hsv(232, 60%, 77%) |
| CMYK | cmyk(60.2%, 52%, 0%, 23.1%) |
| CIE-LAB | lab(43.67, 25.11, -55.38) |
| CIE-LCH | lch(43.67, 60.80, 294.39°) |
| OKLab | oklab(52.4% 0.0083 -0.1586) |
| OKLCH | oklch(52.4% 0.159 273) |
| XYZ | xyz(17.1051, 13.6093, 53.9393) |
| Luminance | 0.1361 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.85
Iris
#6258C4
ΔE00 4.57
Dark Periwinkle
#665FD1
ΔE00 4.70
Royal Blue
#4169E1
ΔE00 5.64
Azul
#1D5DEC
ΔE00 5.67
Slate Blue
#6A5ACD
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5EC4 #C4B44E
analogous
#4E99C4 #4E5EC4 #794EC4
triadic
#4E5EC4 #C44E5E #5EC44E
tetradic
#4E5EC4 #C44E99 #C4B44E #4EC479
square
#4E5EC4 #C44E99 #C4B44E #4EC479
split-complementary
#4E5EC4 #C4794E #99C44E
monochromatic
#263072 #3544A0 #4E5EC4 #7C88D3 #AAB2E3
Accessibility & contrast
On white
5.64
#4E5EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#4E5EC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5EC4
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5EC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5EC4 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226DC8
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4e5ec4; /* rgb */ color: rgb(78, 94, 196); /* oklch */ color: oklch(52.4% 0.159 273.0);
Tailwind
colors: {
custom: {
50: '#8a8bd6',
500: '#4e5ec4',
950: '#000000',
},
}SCSS
$custom: #4e5ec4; $custom-light: #8a8bd6; $custom-dark: #000000;
JSON
{
"hex": "#4e5ec4",
"rgb": {
"r": 78,
"g": 94,
"b": 196
},
"hsl": {
"h": 231.864,
"s": 50,
"l": 53.725
},
"oklch": {
"l": 0.52398,
"c": 0.15885,
"h": 273
},
"luminance": 0.13611
}Semantic roles & 50–950 ramp
primary
#4E5EC4
secondary
#D0C99E
accent
#C74EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83