#4C7FD4#4C7FD4
#4C7FD4 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.2% C 0.141 H 260.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4C7FD4 |
|---|---|
| RGB | rgb(76, 127, 212) |
| HSL | hsl(218, 61%, 56%) |
| HSV | hsv(218, 64%, 83%) |
| CMYK | cmyk(64.2%, 40.1%, 0%, 16.9%) |
| CIE-LAB | lab(53.46, 9.69, -48.85) |
| CIE-LCH | lch(53.46, 49.80, 281.22°) |
| OKLab | oklab(60.17% -0.0244 -0.1391) |
| OKLCH | oklch(60.17% 0.141 260.1) |
| XYZ | xyz(22.4493, 21.4666, 65.2350) |
| Luminance | 0.2147 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 4.15
Clear Blue
#247AFD
ΔE00 4.17
Azure
#007FFF
ΔE00 4.41
Lightish Blue
#3D7AFD
ΔE00 4.53
Deep Sky Blue
#0D75F8
ΔE00 4.72
Windows Blue
#3778BF
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C7FD4 #D4A14C
analogous
#4CC3D4 #4C7FD4 #5D4CD4
triadic
#4C7FD4 #D44C7F #7FD44C
tetradic
#4C7FD4 #D44CC3 #D4A14C #4CD45D
square
#4C7FD4 #D44CC3 #D4A14C #4CD45D
split-complementary
#4C7FD4 #D45D4C #C3D44C
monochromatic
#204686 #2C60B7 #4C7FD4 #7DA2E0 #AFC6EC
Accessibility & contrast
On white
3.97
#4C7FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#4C7FD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C7FD4
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C7FD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C7FD4 | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5987D7
Deuteranopia (green-blind)
#457AD2
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #4c7fd4; /* rgb */ color: rgb(76, 127, 212); /* oklch */ color: oklch(60.2% 0.141 260.1);
Tailwind
colors: {
custom: {
50: '#8ba3e2',
500: '#4c7fd4',
950: '#000000',
},
}SCSS
$custom: #4c7fd4; $custom-light: #8ba3e2; $custom-dark: #000000;
JSON
{
"hex": "#4c7fd4",
"rgb": {
"r": 76,
"g": 127,
"b": 212
},
"hsl": {
"h": 217.5,
"s": 61.261,
"l": 56.471
},
"oklch": {
"l": 0.60167,
"c": 0.14121,
"h": 260.1
},
"luminance": 0.21469
}Semantic roles & 50–950 ramp
primary
#4C7FD4
secondary
#DAC5A2
accent
#A843E4
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83