#4C7ED5#4C7ED5
#4C7ED5 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.0% C 0.144 H 260.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #4C7ED5 |
|---|---|
| RGB | rgb(76, 126, 213) |
| HSL | hsl(218, 62%, 57%) |
| HSV | hsv(218, 64%, 84%) |
| CMYK | cmyk(64.3%, 40.8%, 0%, 16.5%) |
| CIE-LAB | lab(53.23, 10.64, -49.77) |
| CIE-LCH | lch(53.23, 50.90, 282.07°) |
| OKLab | oklab(60.01% -0.0232 -0.1418) |
| OKLCH | oklch(60.01% 0.144 260.7) |
| XYZ | xyz(22.4473, 21.2602, 65.8585) |
| Luminance | 0.2126 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Clear Blue
#247AFD
ΔE00 4.06
Dodger Blue
#3E82FC
ΔE00 4.20
Lightish Blue
#3D7AFD
ΔE00 4.33
Azure
#007FFF
ΔE00 4.50
Deep Sky Blue
#0D75F8
ΔE00 4.53
Windows Blue
#3778BF
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C7ED5 #D5A34C
analogous
#4CC3D5 #4C7ED5 #5F4CD5
triadic
#4C7ED5 #D54C7E #7ED54C
tetradic
#4C7ED5 #D54CC3 #D5A34C #4CD55F
square
#4C7ED5 #D54CC3 #D5A34C #4CD55F
split-complementary
#4C7ED5 #D55F4C #C3D54C
monochromatic
#204587 #2B5FB9 #4C7ED5 #7EA2E1 #AFC5EC
Accessibility & contrast
On white
4.00
#4C7ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#4C7ED5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C7ED5
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C7ED5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C7ED5 | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5786D8
Deuteranopia (green-blind)
#4279D3
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #4c7ed5; /* rgb */ color: rgb(76, 126, 213); /* oklch */ color: oklch(60.0% 0.144 260.7);
Tailwind
colors: {
custom: {
50: '#8ba2e2',
500: '#4c7ed5',
950: '#000000',
},
}SCSS
$custom: #4c7ed5; $custom-light: #8ba2e2; $custom-dark: #000000;
JSON
{
"hex": "#4c7ed5",
"rgb": {
"r": 76,
"g": 126,
"b": 213
},
"hsl": {
"h": 218.102,
"s": 61.991,
"l": 56.667
},
"oklch": {
"l": 0.60012,
"c": 0.14368,
"h": 260.7
},
"luminance": 0.21262
}Semantic roles & 50–950 ramp
primary
#4C7ED5
secondary
#DAC6A2
accent
#AA43E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83