#4E5EC5#4E5EC5
#4E5EC5 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.5% C 0.160 H 273.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5EC5 |
|---|---|
| RGB | rgb(78, 94, 197) |
| HSL | hsl(232, 51%, 54%) |
| HSV | hsv(232, 60%, 77%) |
| CMYK | cmyk(60.4%, 52.3%, 0%, 22.7%) |
| CIE-LAB | lab(43.73, 25.44, -55.85) |
| CIE-LCH | lch(43.73, 61.37, 294.49°) |
| OKLab | oklab(52.47% 0.0083 -0.16) |
| OKLCH | oklch(52.47% 0.16 273) |
| XYZ | xyz(17.2193, 13.6550, 54.5408) |
| Luminance | 0.1366 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.73
Iris
#6258C4
ΔE00 4.55
Dark Periwinkle
#665FD1
ΔE00 4.63
Royal Blue
#4169E1
ΔE00 5.56
Azul
#1D5DEC
ΔE00 5.57
Slate Blue
#6A5ACD
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5EC5 #C5B54E
analogous
#4E9AC5 #4E5EC5 #7A4EC5
triadic
#4E5EC5 #C54E5E #5EC54E
tetradic
#4E5EC5 #C54E9A #C5B54E #4EC57A
square
#4E5EC5 #C54E9A #C5B54E #4EC57A
split-complementary
#4E5EC5 #C57A4E #9AC54E
monochromatic
#263073 #3543A1 #4E5EC5 #7C88D4 #AAB2E3
Accessibility & contrast
On white
5.63
#4E5EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#4E5EC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5EC5
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5EC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5EC5 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#216DC9
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4e5ec5; /* rgb */ color: rgb(78, 94, 197); /* oklch */ color: oklch(52.5% 0.160 273.0);
Tailwind
colors: {
custom: {
50: '#8a8bd7',
500: '#4e5ec5',
950: '#000000',
},
}SCSS
$custom: #4e5ec5; $custom-light: #8a8bd7; $custom-dark: #000000;
JSON
{
"hex": "#4e5ec5",
"rgb": {
"r": 78,
"g": 94,
"b": 197
},
"hsl": {
"h": 231.933,
"s": 50.638,
"l": 53.922
},
"oklch": {
"l": 0.52469,
"c": 0.16024,
"h": 273
},
"luminance": 0.13656
}Semantic roles & 50–950 ramp
primary
#4E5EC5
secondary
#D1CA9E
accent
#C74EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83