#4C4879 color
The hex color #4C4879 is a dark, desaturated blue.
In the RGB color model it is made of 29.8% red, 28.2% green and 47.5% blue (76, 72, 121).
Its hue angle is 245°, with 25% saturation and 38% lightness. For print, the CMYK equivalent is 37% cyan, 40% magenta, 0% yellow and 53% black.
The closest named color is Tangent Periwinkle (#50507F), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.37:1).
#4C4879 color codes
| HEX | #4C4879 | |
|---|---|---|
| RGB | rgb(76, 72, 121) | |
| RGB percent | rgb(29.8%, 28.2%, 47.5%) | |
| HSL | hsl(245, 25%, 38%) | |
| HSV / HSB | hsv(245, 40%, 47%) | |
| CMYK | cmyk(37%, 40%, 0%, 53%) | |
| CIE LAB | lab(33.03, 14.41, -27.39) | |
| CIE LCH | lch(33.03, 30.95, 297.75) | |
| CIE XYZ | xyz(8.748, 7.551, 19.082) | |
| Decimal | 4999289 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4C4879, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #4C4879 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.51:1 | Fail | Fail | Fail |
| Sample text | 8.37:1 | Pass | Pass | Pass |
| #4C4879 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.37:1 | Pass | Pass | Pass |
| Sample text | 2.51:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #4C4879 looks to people with the most common types of color vision deficiency.
#384f7bProtanopia
no red cones#374c78Deuteranopia
no green cones#40515aTritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #4c4879; }
.text { color: #4c4879; }
.border { border: 2px solid #4c4879; }
.transparent { background-color: rgb(76 72 121 / 50%); }
.gradient { background: linear-gradient(to right, #4c4879, #654879); }
Similar colors
#50507fTangent Periwinkle#5c5083Freshly Purpleized#4e518bTwilight#4e5481Dusk#4a3b6aMeteorite#604c81Sumptuous Purple#5c457bIn the Vines#3d3d63Storm Is Coming
Closest common color name: Dark Slate Blue.
Questions
- What color is #4C4879?
- #4C4879 is a dark, desaturated blue, closest to the named color Tangent Periwinkle. It belongs to the blue family of colors.
- What is the RGB value of #4C4879?
- The RGB value is 76, 72, 121: 76 red, 72 green and 121 blue on a 0 to 255 scale.
- What is the complementary color of #4C4879?
- The complementary color is #757948, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4C4879?
- White text. Black text has a contrast ratio of 2.51:1 and white text 8.37:1. WCAG asks for at least 4.5:1 for normal text.