#4E7DC7#4E7DC7
#4E7DC7 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.1% C 0.125 H 259.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7DC7 |
|---|---|
| RGB | rgb(78, 125, 199) |
| HSL | hsl(217, 52%, 54%) |
| HSV | hsv(217, 61%, 78%) |
| CMYK | cmyk(60.8%, 37.2%, 0%, 22%) |
| CIE-LAB | lab(52.30, 6.84, -43.31) |
| CIE-LCH | lch(52.30, 43.85, 278.97°) |
| OKLab | oklab(59.07% -0.0236 -0.1228) |
| OKLCH | oklch(59.07% 0.125 259.1) |
| XYZ | xyz(20.7807, 20.4086, 56.8659) |
| Luminance | 0.2041 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.79
Off Blue
#5684AE
ΔE00 4.48
Cool Blue
#4984B8
ΔE00 4.55
Steel Blue
#4682B4
ΔE00 4.82
Dusty Blue
#5A86AD
ΔE00 5.14
Clear Blue
#247AFD
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7DC7 #C7984E
analogous
#4EBAC7 #4E7DC7 #5C4EC7
triadic
#4E7DC7 #C74E7D #7DC74E
tetradic
#4E7DC7 #C74EBA #C7984E #4EC75C
square
#4E7DC7 #C74EBA #C7984E #4EC75C
split-complementary
#4E7DC7 #C75C4E #BAC74E
monochromatic
#254475 #345FA4 #4E7DC7 #7C9FD6 #ABC1E4
Accessibility & contrast
On white
4.13
#4E7DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#4E7DC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E7DC7
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7DC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E7DC7 | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D83CA
Deuteranopia (green-blind)
#4D78C5
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #4e7dc7; /* rgb */ color: rgb(78, 125, 199); /* oklch */ color: oklch(59.1% 0.125 259.1);
Tailwind
colors: {
custom: {
50: '#8aa2d8',
500: '#4e7dc7',
950: '#000000',
},
}SCSS
$custom: #4e7dc7; $custom-light: #8aa2d8; $custom-dark: #000000;
JSON
{
"hex": "#4e7dc7",
"rgb": {
"r": 78,
"g": 125,
"b": 199
},
"hsl": {
"h": 216.694,
"s": 51.931,
"l": 54.314
},
"oklch": {
"l": 0.59066,
"c": 0.12509,
"h": 259.1
},
"luminance": 0.2041
}Semantic roles & 50–950 ramp
primary
#4E7DC7
secondary
#D2BE9F
accent
#A44CDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0F14
muted
#7D7E83