#4C4866 color
The hex color #4C4866 is a dark, grayish blue.
In the RGB color model it is made of 29.8% red, 28.2% green and 40% blue (76, 72, 102).
Its hue angle is 248°, with 17% saturation and 34% lightness. For print, the CMYK equivalent is 25% cyan, 29% magenta, 0% yellow and 60% black.
The closest named color is Nightly Walk (#544563), a difference of 4.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.66:1).
#4C4866 color codes
| HEX | #4C4866 | |
|---|---|---|
| RGB | rgb(76, 72, 102) | |
| RGB percent | rgb(29.8%, 28.2%, 40%) | |
| HSL | hsl(248, 17%, 34%) | |
| HSV / HSB | hsv(248, 29%, 40%) | |
| CMYK | cmyk(25%, 29%, 0%, 60%) | |
| CIE LAB | lab(32.1, 8.97, -16.89) | |
| CIE LCH | lch(32.1, 19.12, 297.97) | |
| CIE XYZ | xyz(7.696, 7.13, 13.539) | |
| Decimal | 4999270 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4C4866, 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 #4C4866 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.43:1 | Fail | Fail | Fail |
| Sample text | 8.66:1 | Pass | Pass | Pass |
| #4C4866 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.66:1 | Pass | Pass | Pass |
| Sample text | 2.43: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 #4C4866 looks to people with the most common types of color vision deficiency.
#404c67Protanopia
no red cones#404b65Deuteranopia
no green cones#464d53Tritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #4c4866; }
.text { color: #4c4866; }
.border { border: 2px solid #4c4866; }
.transparent { background-color: rgb(76 72 102 / 50%); }
.gradient { background: linear-gradient(to right, #4c4866, #5b4866); }
Similar colors
#544563Nightly Walk#3e4364Genie#4d516cIntergalactic#555570Majestic Magic#3d3d63Storm Is Coming#565266Freefall#57446aHaunted Candelabra#50507fTangent Periwinkle
Closest common color name: Dark Slate Blue.
Questions
- What color is #4C4866?
- #4C4866 is a dark, grayish blue, closest to the named color Nightly Walk. It belongs to the blue family of colors.
- What is the RGB value of #4C4866?
- The RGB value is 76, 72, 102: 76 red, 72 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #4C4866?
- The complementary color is #626648, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4C4866?
- White text. Black text has a contrast ratio of 2.43:1 and white text 8.66:1. WCAG asks for at least 4.5:1 for normal text.