#4E5EC7#4E5EC7
#4E5EC7 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.163 H 273.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5EC7 |
|---|---|
| RGB | rgb(78, 94, 199) |
| HSL | hsl(232, 52%, 54%) |
| HSV | hsv(232, 61%, 78%) |
| CMYK | cmyk(60.8%, 52.8%, 0%, 22%) |
| CIE-LAB | lab(43.87, 26.12, -56.79) |
| CIE-LCH | lch(43.87, 62.51, 294.70°) |
| OKLab | oklab(52.61% 0.0085 -0.1628) |
| OKLCH | oklch(52.61% 0.163 273) |
| XYZ | xyz(17.4500, 13.7472, 55.7557) |
| Luminance | 0.1375 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.50
Dark Periwinkle
#665FD1
ΔE00 4.49
Iris
#6258C4
ΔE00 4.51
Azul
#1D5DEC
ΔE00 5.37
Royal Blue
#4169E1
ΔE00 5.40
Slate Blue
#6A5ACD
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5EC7 #C7B74E
analogous
#4E9BC7 #4E5EC7 #7B4EC7
triadic
#4E5EC7 #C74E5E #5EC74E
tetradic
#4E5EC7 #C74E9B #C7B74E #4EC77B
square
#4E5EC7 #C74E9B #C7B74E #4EC77B
split-complementary
#4E5EC7 #C77B4E #9BC74E
monochromatic
#253075 #3443A4 #4E5EC7 #7C88D6 #ABB3E4
Accessibility & contrast
On white
5.60
#4E5EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#4E5EC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5EC7
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5EC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5EC7 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D6DCB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4e5ec7; /* rgb */ color: rgb(78, 94, 199); /* oklch */ color: oklch(52.6% 0.163 273.0);
Tailwind
colors: {
custom: {
50: '#8b8bd9',
500: '#4e5ec7',
950: '#000000',
},
}SCSS
$custom: #4e5ec7; $custom-light: #8b8bd9; $custom-dark: #000000;
JSON
{
"hex": "#4e5ec7",
"rgb": {
"r": 78,
"g": 94,
"b": 199
},
"hsl": {
"h": 232.066,
"s": 51.931,
"l": 54.314
},
"oklch": {
"l": 0.52613,
"c": 0.16301,
"h": 273
},
"luminance": 0.13749
}Semantic roles & 50–950 ramp
primary
#4E5EC7
secondary
#D2CB9F
accent
#C84CDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C15
muted
#7E7D83