#4E7DC6#4E7DC6
#4E7DC6 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.0% C 0.124 H 258.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7DC6 |
|---|---|
| RGB | rgb(78, 125, 198) |
| HSL | hsl(217, 51%, 54%) |
| HSV | hsv(217, 61%, 78%) |
| CMYK | cmyk(60.6%, 36.9%, 0%, 22.4%) |
| CIE-LAB | lab(52.24, 6.50, -42.82) |
| CIE-LCH | lch(52.24, 43.31, 278.63°) |
| OKLab | oklab(59.01% -0.0238 -0.1214) |
| OKLCH | oklch(59.01% 0.124 258.9) |
| XYZ | xyz(20.6650, 20.3623, 56.2564) |
| Luminance | 0.2036 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.72
Off Blue
#5684AE
ΔE00 4.42
Cool Blue
#4984B8
ΔE00 4.48
Steel Blue
#4682B4
ΔE00 4.74
Dusty Blue
#5A86AD
ΔE00 5.09
Clear Blue
#247AFD
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7DC6 #C6974E
analogous
#4EB9C6 #4E7DC6 #5B4EC6
triadic
#4E7DC6 #C64E7D #7DC64E
tetradic
#4E7DC6 #C64EB9 #C6974E #4EC65B
square
#4E7DC6 #C64EB9 #C6974E #4EC65B
split-complementary
#4E7DC6 #C65B4E #B9C64E
monochromatic
#254474 #345FA2 #4E7DC6 #7C9FD5 #ABC1E4
Accessibility & contrast
On white
4.14
#4E7DC6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#4E7DC6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E7DC6
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7DC6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E7DC6 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E83C9
Deuteranopia (green-blind)
#4E77C4
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #4e7dc6; /* rgb */ color: rgb(78, 125, 198); /* oklch */ color: oklch(59.0% 0.124 258.9);
Tailwind
colors: {
custom: {
50: '#8aa2d7',
500: '#4e7dc6',
950: '#000000',
},
}SCSS
$custom: #4e7dc6; $custom-light: #8aa2d7; $custom-dark: #000000;
JSON
{
"hex": "#4e7dc6",
"rgb": {
"r": 78,
"g": 125,
"b": 198
},
"hsl": {
"h": 216.5,
"s": 51.282,
"l": 54.118
},
"oklch": {
"l": 0.59009,
"c": 0.12373,
"h": 258.9
},
"luminance": 0.20364
}Semantic roles & 50–950 ramp
primary
#4E7DC6
secondary
#D1BD9E
accent
#A34DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83