#4C7ED7#4C7ED7
#4C7ED7 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.1% C 0.146 H 261.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #4C7ED7 |
|---|---|
| RGB | rgb(76, 126, 215) |
| HSL | hsl(218, 63%, 57%) |
| HSV | hsv(218, 65%, 84%) |
| CMYK | cmyk(64.7%, 41.4%, 0%, 15.7%) |
| CIE-LAB | lab(53.34, 11.33, -50.73) |
| CIE-LCH | lch(53.34, 51.98, 282.60°) |
| OKLab | oklab(60.13% -0.0228 -0.1446) |
| OKLCH | oklch(60.13% 0.146 261) |
| XYZ | xyz(22.7027, 21.3623, 67.2037) |
| Luminance | 0.2137 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Clear Blue
#247AFD
ΔE00 3.90
Dodger Blue
#3E82FC
ΔE00 4.01
Lightish Blue
#3D7AFD
ΔE00 4.13
Azure
#007FFF
ΔE00 4.41
Deep Sky Blue
#0D75F8
ΔE00 4.44
Windows Blue
#3778BF
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C7ED7 #D7A54C
analogous
#4CC4D7 #4C7ED7 #604CD7
triadic
#4C7ED7 #D74C7E #7ED74C
tetradic
#4C7ED7 #D74CC4 #D7A54C #4CD760
square
#4C7ED7 #D74CC4 #D7A54C #4CD760
split-complementary
#4C7ED7 #D7604C #C4D74C
monochromatic
#1F458A #2A5EBC #4C7ED7 #7EA2E2 #B0C6ED
Accessibility & contrast
On white
3.98
#4C7ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#4C7ED7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C7ED7
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C7ED7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C7ED7 | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5586DA
Deuteranopia (green-blind)
#4079D5
Tritanopia (blue-blind)
#0092A0
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #4c7ed7; /* rgb */ color: rgb(76, 126, 215); /* oklch */ color: oklch(60.1% 0.146 261.0);
Tailwind
colors: {
custom: {
50: '#8ba2e4',
500: '#4c7ed7',
950: '#000000',
},
}SCSS
$custom: #4c7ed7; $custom-light: #8ba2e4; $custom-dark: #000000;
JSON
{
"hex": "#4c7ed7",
"rgb": {
"r": 76,
"g": 126,
"b": 215
},
"hsl": {
"h": 218.417,
"s": 63.47,
"l": 57.059
},
"oklch": {
"l": 0.60133,
"c": 0.14638,
"h": 261
},
"luminance": 0.21365
}Semantic roles & 50–950 ramp
primary
#4C7ED7
secondary
#DCC7A3
accent
#AB41E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F15
muted
#7E7E84