#4E7EC7#4E7EC7
#4E7EC7 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.3% C 0.124 H 258.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7EC7 |
|---|---|
| RGB | rgb(78, 126, 199) |
| HSL | hsl(216, 52%, 54%) |
| HSV | hsv(216, 61%, 78%) |
| CMYK | cmyk(60.8%, 36.7%, 0%, 22%) |
| CIE-LAB | lab(52.58, 6.23, -42.86) |
| CIE-LCH | lch(52.58, 43.31, 278.27°) |
| OKLab | oklab(59.29% -0.0246 -0.1215) |
| OKLCH | oklch(59.29% 0.124 258.5) |
| XYZ | xyz(20.9079, 20.6631, 56.9083) |
| Luminance | 0.2067 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.84
Cool Blue
#4984B8
ΔE00 4.26
Off Blue
#5684AE
ΔE00 4.27
Steel Blue
#4682B4
ΔE00 4.59
Dusty Blue
#5A86AD
ΔE00 4.92
Clear Blue
#247AFD
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7EC7 #C7974E
analogous
#4EBBC7 #4E7EC7 #5B4EC7
triadic
#4E7EC7 #C74E7E #7EC74E
tetradic
#4E7EC7 #C74EBB #C7974E #4EC75B
square
#4E7EC7 #C74EBB #C7974E #4EC75B
split-complementary
#4E7EC7 #C75B4E #BBC74E
monochromatic
#254575 #3460A4 #4E7EC7 #7CA0D6 #ABC2E4
Accessibility & contrast
On white
4.09
#4E7EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#4E7EC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E7EC7
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7EC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E7EC7 | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F84CA
Deuteranopia (green-blind)
#4F78C5
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #4e7ec7; /* rgb */ color: rgb(78, 126, 199); /* oklch */ color: oklch(59.3% 0.124 258.5);
Tailwind
colors: {
custom: {
50: '#8aa3d8',
500: '#4e7ec7',
950: '#000000',
},
}SCSS
$custom: #4e7ec7; $custom-light: #8aa3d8; $custom-dark: #000000;
JSON
{
"hex": "#4e7ec7",
"rgb": {
"r": 78,
"g": 126,
"b": 199
},
"hsl": {
"h": 216.198,
"s": 51.931,
"l": 54.314
},
"oklch": {
"l": 0.59286,
"c": 0.124,
"h": 258.5
},
"luminance": 0.20665
}Semantic roles & 50–950 ramp
primary
#4E7EC7
secondary
#D2BE9F
accent
#A34CDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0F14
muted
#7D7E83