#504B7C color
The hex color #504B7C is a grayish blue.
In the RGB color model it is made of 31.4% red, 29.4% green and 48.6% blue (80, 75, 124).
Its hue angle is 246°, with 25% saturation and 39% lightness. For print, the CMYK equivalent is 35% cyan, 40% magenta, 0% yellow and 51% black.
The closest named color is Tangent Periwinkle (#50507F), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.96:1).
#504B7C color codes
| HEX | #504B7C | |
|---|---|---|
| RGB | rgb(80, 75, 124) | |
| RGB percent | rgb(31.4%, 29.4%, 48.6%) | |
| HSL | hsl(246, 25%, 39%) | |
| HSV / HSB | hsv(246, 40%, 49%) | |
| CMYK | cmyk(35%, 40%, 0%, 51%) | |
| CIE LAB | lab(34.38, 14.57, -27.11) | |
| CIE LCH | lch(34.38, 30.77, 298.26) | |
| CIE XYZ | xyz(9.461, 8.193, 20.148) | |
| Decimal | 5262204 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504B7C, 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 #504B7C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.64:1 | Fail | Fail | Fail |
| Sample text | 7.96:1 | Pass | Pass | Pass |
| #504B7C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.96:1 | Pass | Pass | Pass |
| Sample text | 2.64: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 #504B7C looks to people with the most common types of color vision deficiency.
#3c527eProtanopia
no red cones#3b507bDeuteranopia
no green cones#45545dTritanopia
no blue cones#515151Achromatopsia
no color vision
CSS examples
.background { background-color: #504b7c; }
.text { color: #504b7c; }
.border { border: 2px solid #504b7c; }
.transparent { background-color: rgb(80 75 124 / 50%); }
.gradient { background: linear-gradient(to right, #504b7c, #694b7c); }
Similar colors
#50507fTangent Periwinkle#5c5083Freshly Purpleized#4e518bTwilight#4e5481Dusk#604c81Sumptuous Purple#5c457bIn the Vines#614a7bRoyal Robe#51588ePiccadilly Purple
Closest common color name: Dark Slate Blue.
Questions
- What color is #504B7C?
- #504B7C 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 #504B7C?
- The RGB value is 80, 75, 124: 80 red, 75 green and 124 blue on a 0 to 255 scale.
- What is the complementary color of #504B7C?
- The complementary color is #777C4B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504B7C?
- White text. Black text has a contrast ratio of 2.64:1 and white text 7.96:1. WCAG asks for at least 4.5:1 for normal text.