#4D4879 color
The hex color #4D4879 is a dark, desaturated blue.
In the RGB color model it is made of 30.2% red, 28.2% green and 47.5% blue (77, 72, 121).
Its hue angle is 246°, with 25% saturation and 38% lightness. For print, the CMYK equivalent is 36% cyan, 40% magenta, 0% yellow and 53% black.
The closest named color is Tangent Periwinkle (#50507F), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.34:1).
#4D4879 color codes
| HEX | #4D4879 | |
|---|---|---|
| RGB | rgb(77, 72, 121) | |
| RGB percent | rgb(30.2%, 28.2%, 47.5%) | |
| HSL | hsl(246, 25%, 38%) | |
| HSV / HSB | hsv(246, 40%, 47%) | |
| CMYK | cmyk(36%, 40%, 0%, 53%) | |
| CIE LAB | lab(33.12, 14.71, -27.24) | |
| CIE LCH | lch(33.12, 30.96, 298.37) | |
| CIE XYZ | xyz(8.828, 7.593, 19.086) | |
| Decimal | 5064825 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D4879, 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 #4D4879 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.52:1 | Fail | Fail | Fail |
| Sample text | 8.34:1 | Pass | Pass | Pass |
| #4D4879 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.34:1 | Pass | Pass | Pass |
| Sample text | 2.52: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 #4D4879 looks to people with the most common types of color vision deficiency.
#394f7bProtanopia
no red cones#384d78Deuteranopia
no green cones#42515aTritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #4d4879; }
.text { color: #4d4879; }
.border { border: 2px solid #4d4879; }
.transparent { background-color: rgb(77 72 121 / 50%); }
.gradient { background: linear-gradient(to right, #4d4879, #664879); }
Similar colors
#50507fTangent Periwinkle#5c5083Freshly Purpleized#4e518bTwilight#4e5481Dusk#5c457bIn the Vines#604c81Sumptuous Purple#4a3b6aMeteorite#3d3d63Storm Is Coming
Closest common color name: Dark Slate Blue.
Questions
- What color is #4D4879?
- #4D4879 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 #4D4879?
- The RGB value is 77, 72, 121: 77 red, 72 green and 121 blue on a 0 to 255 scale.
- What is the complementary color of #4D4879?
- The complementary color is #747948, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D4879?
- White text. Black text has a contrast ratio of 2.52:1 and white text 8.34:1. WCAG asks for at least 4.5:1 for normal text.