#504D66 color
The hex color #504D66 is a dark, grayish blue.
In the RGB color model it is made of 31.4% red, 30.2% green and 40% blue (80, 77, 102).
Its hue angle is 247°, with 14% saturation and 35% lightness. For print, the CMYK equivalent is 22% cyan, 25% magenta, 0% yellow and 60% black.
The closest named color is Freefall (#565266), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.09:1).
#504D66 color codes
| HEX | #504D66 | |
|---|---|---|
| RGB | rgb(80, 77, 102) | |
| RGB percent | rgb(31.4%, 30.2%, 40%) | |
| HSL | hsl(247, 14%, 35%) | |
| HSV / HSB | hsv(247, 25%, 40%) | |
| CMYK | cmyk(22%, 25%, 0%, 60%) | |
| CIE LAB | lab(33.93, 7.16, -14.06) | |
| CIE LCH | lch(33.93, 15.78, 297) | |
| CIE XYZ | xyz(8.36, 7.972, 13.666) | |
| Decimal | 5262694 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504D66, 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 #504D66 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.59:1 | Fail | Fail | Fail |
| Sample text | 8.09:1 | Pass | Pass | Pass |
| #504D66 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.09:1 | Pass | Pass | Pass |
| Sample text | 2.59: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 #504D66 looks to people with the most common types of color vision deficiency.
#475067Protanopia
no red cones#474f65Deuteranopia
no green cones#4b5156Tritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #504d66; }
.text { color: #504d66; }
.border { border: 2px solid #504d66; }
.transparent { background-color: rgb(80 77 102 / 50%); }
.gradient { background: linear-gradient(to right, #504d66, #5d4d66); }
Similar colors
#565266Freefall#555570Majestic Magic#4d516cIntergalactic#544563Nightly Walk#3e4364Genie#4f4554Black Magic#4f566cHeavy Violet#525463Black Orchid
Closest common color name: Eggplant.
Questions
- What color is #504D66?
- #504D66 is a dark, grayish blue, closest to the named color Freefall. It belongs to the blue family of colors.
- What is the RGB value of #504D66?
- The RGB value is 80, 77, 102: 80 red, 77 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #504D66?
- The complementary color is #63664D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504D66?
- White text. Black text has a contrast ratio of 2.59:1 and white text 8.09:1. WCAG asks for at least 4.5:1 for normal text.