#4D4F76 color
The hex color #4D4F76 is a grayish blue.
In the RGB color model it is made of 30.2% red, 31% green and 46.3% blue (77, 79, 118).
Its hue angle is 237°, with 21% saturation and 38% lightness. For print, the CMYK equivalent is 35% cyan, 33% magenta, 0% yellow and 54% black.
The closest named color is Tangent Periwinkle (#50507F), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.79:1).
#4D4F76 color codes
| HEX | #4D4F76 | |
|---|---|---|
| RGB | rgb(77, 79, 118) | |
| RGB percent | rgb(30.2%, 31%, 46.3%) | |
| HSL | hsl(237, 21%, 38%) | |
| HSV / HSB | hsv(237, 35%, 46%) | |
| CMYK | cmyk(35%, 33%, 0%, 54%) | |
| CIE LAB | lab(34.96, 9.31, -22.5) | |
| CIE LCH | lch(34.96, 24.35, 292.47) | |
| CIE XYZ | xyz(9.126, 8.477, 18.292) | |
| Decimal | 5066614 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D4F76, 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 #4D4F76 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.7:1 | Fail | Fail | Fail |
| Sample text | 7.79:1 | Pass | Pass | Pass |
| #4D4F76 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.79:1 | Pass | Pass | Pass |
| Sample text | 2.7: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 #4D4F76 looks to people with the most common types of color vision deficiency.
#435478Protanopia
no red cones#415175Deuteranopia
no green cones#42565dTritanopia
no blue cones#525252Achromatopsia
no color vision
CSS examples
.background { background-color: #4d4f76; }
.text { color: #4d4f76; }
.border { border: 2px solid #4d4f76; }
.transparent { background-color: rgb(77 79 118 / 50%); }
.gradient { background: linear-gradient(to right, #4d4f76, #5f4d76); }
Similar colors
#50507fTangent Periwinkle#4e5481Dusk#4c567aDeep Indigo#4d516cIntergalactic#555570Majestic Magic#3b476bStarlit Night#3e4364Genie#4e518bTwilight
Closest common color name: Dark Slate Blue.
Questions
- What color is #4D4F76?
- #4D4F76 is a grayish blue, closest to the named color Tangent Periwinkle. It belongs to the blue family of colors.
- What is the RGB value of #4D4F76?
- The RGB value is 77, 79, 118: 77 red, 79 green and 118 blue on a 0 to 255 scale.
- What is the complementary color of #4D4F76?
- The complementary color is #76744D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D4F76?
- White text. Black text has a contrast ratio of 2.7:1 and white text 7.79:1. WCAG asks for at least 4.5:1 for normal text.