#4C4E7F color
The hex color #4C4E7F is a desaturated blue.
In the RGB color model it is made of 29.8% red, 30.6% green and 49.8% blue (76, 78, 127).
Its hue angle is 238°, with 25% saturation and 40% lightness. For print, the CMYK equivalent is 40% cyan, 39% magenta, 0% yellow and 50% black.
The closest named color is Tangent Periwinkle (#50507F), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.77:1).
#4C4E7F color codes
| HEX | #4C4E7F | |
|---|---|---|
| RGB | rgb(76, 78, 127) | |
| RGB percent | rgb(29.8%, 30.6%, 49.8%) | |
| HSL | hsl(238, 25%, 40%) | |
| HSV / HSB | hsv(238, 40%, 50%) | |
| CMYK | cmyk(40%, 39%, 0%, 50%) | |
| CIE LAB | lab(35.04, 12.33, -27.95) | |
| CIE LCH | lch(35.04, 30.55, 293.81) | |
| CIE XYZ | xyz(9.535, 8.517, 21.216) | |
| Decimal | 5000831 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4C4E7F, 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 #4C4E7F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.7:1 | Fail | Fail | Fail |
| Sample text | 7.77:1 | Pass | Pass | Pass |
| #4C4E7F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.77: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 #4C4E7F looks to people with the most common types of color vision deficiency.
#3e5481Protanopia
no red cones#3b517eDeuteranopia
no green cones#3d5860Tritanopia
no blue cones#525252Achromatopsia
no color vision
CSS examples
.background { background-color: #4c4e7f; }
.text { color: #4c4e7f; }
.border { border: 2px solid #4c4e7f; }
.transparent { background-color: rgb(76 78 127 / 50%); }
.gradient { background: linear-gradient(to right, #4c4e7f, #634c7f); }
Similar colors
#50507fTangent Periwinkle#4e5481Dusk#4e518bTwilight#51588ePiccadilly Purple#5c5083Freshly Purpleized#4c567aDeep Indigo#3d4585Queen of the Night Shift#4d5b88Wizard
Closest common color name: Dark Slate Blue.
Questions
- What color is #4C4E7F?
- #4C4E7F is a desaturated blue, closest to the named color Tangent Periwinkle. It belongs to the blue family of colors.
- What is the RGB value of #4C4E7F?
- The RGB value is 76, 78, 127: 76 red, 78 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #4C4E7F?
- The complementary color is #7F7D4C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4C4E7F?
- White text. Black text has a contrast ratio of 2.7:1 and white text 7.77:1. WCAG asks for at least 4.5:1 for normal text.