#4E7EC6#4E7EC6
#4E7EC6 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.2% C 0.123 H 258.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7EC6 |
|---|---|
| RGB | rgb(78, 126, 198) |
| HSL | hsl(216, 51%, 54%) |
| HSV | hsv(216, 61%, 78%) |
| CMYK | cmyk(60.6%, 36.4%, 0%, 22.4%) |
| CIE-LAB | lab(52.53, 5.89, -42.37) |
| CIE-LCH | lch(52.53, 42.78, 277.92°) |
| OKLab | oklab(59.23% -0.0249 -0.1201) |
| OKLCH | oklch(59.23% 0.123 258.3) |
| XYZ | xyz(20.7922, 20.6168, 56.2988) |
| Luminance | 0.2062 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.76
Cool Blue
#4984B8
ΔE00 4.18
Off Blue
#5684AE
ΔE00 4.20
Steel Blue
#4682B4
ΔE00 4.50
Dusty Blue
#5A86AD
ΔE00 4.86
Clear Blue
#247AFD
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7EC6 #C6964E
analogous
#4EBAC6 #4E7EC6 #5A4EC6
triadic
#4E7EC6 #C64E7E #7EC64E
tetradic
#4E7EC6 #C64EBA #C6964E #4EC65A
square
#4E7EC6 #C64EBA #C6964E #4EC65A
split-complementary
#4E7EC6 #C65A4E #BAC64E
monochromatic
#254574 #3460A2 #4E7EC6 #7CA0D5 #ABC1E4
Accessibility & contrast
On white
4.10
#4E7EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#4E7EC6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E7EC6
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7EC6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E7EC6 | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F83C9
Deuteranopia (green-blind)
#4F78C5
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #4e7ec6; /* rgb */ color: rgb(78, 126, 198); /* oklch */ color: oklch(59.2% 0.123 258.3);
Tailwind
colors: {
custom: {
50: '#8aa3d7',
500: '#4e7ec6',
950: '#000000',
},
}SCSS
$custom: #4e7ec6; $custom-light: #8aa3d7; $custom-dark: #000000;
JSON
{
"hex": "#4e7ec6",
"rgb": {
"r": 78,
"g": 126,
"b": 198
},
"hsl": {
"h": 216,
"s": 51.282,
"l": 54.118
},
"oklch": {
"l": 0.5923,
"c": 0.12265,
"h": 258.3
},
"luminance": 0.20619
}Semantic roles & 50–950 ramp
primary
#4E7EC6
secondary
#D1BD9E
accent
#A24DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83