#505279 color
The hex color #505279 is a grayish blue.
In the RGB color model it is made of 31.4% red, 32.2% green and 47.5% blue (80, 82, 121).
Its hue angle is 237°, with 20% saturation and 39% lightness. For print, the CMYK equivalent is 34% cyan, 32% magenta, 0% yellow and 53% 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.44:1).
#505279 color codes
| HEX | #505279 | |
|---|---|---|
| RGB | rgb(80, 82, 121) | |
| RGB percent | rgb(31.4%, 32.2%, 47.5%) | |
| HSL | hsl(237, 20%, 39%) | |
| HSV / HSB | hsv(237, 34%, 47%) | |
| CMYK | cmyk(34%, 32%, 0%, 53%) | |
| CIE LAB | lab(36.21, 9.2, -22.38) | |
| CIE LCH | lch(36.21, 24.2, 292.35) | |
| CIE XYZ | xyz(9.776, 9.12, 19.331) | |
| Decimal | 5263993 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505279, 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 #505279 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.82:1 | Fail | Fail | Fail |
| Sample text | 7.44:1 | Pass | Pass | Pass |
| #505279 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.44:1 | Pass | Pass | Pass |
| Sample text | 2.82: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 #505279 looks to people with the most common types of color vision deficiency.
#46577bProtanopia
no red cones#445478Deuteranopia
no green cones#455960Tritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #505279; }
.text { color: #505279; }
.border { border: 2px solid #505279; }
.transparent { background-color: rgb(80 82 121 / 50%); }
.gradient { background: linear-gradient(to right, #505279, #625079); }
Similar colors
#50507fTangent Periwinkle#4e5481Dusk#4c567aDeep Indigo#4d516cIntergalactic#555570Majestic Magic#4e518bTwilight#5c5083Freshly Purpleized#51588ePiccadilly Purple
Closest common color name: Dark Slate Blue.
Questions
- What color is #505279?
- #505279 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 #505279?
- The RGB value is 80, 82, 121: 80 red, 82 green and 121 blue on a 0 to 255 scale.
- What is the complementary color of #505279?
- The complementary color is #797750, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505279?
- White text. Black text has a contrast ratio of 2.82:1 and white text 7.44:1. WCAG asks for at least 4.5:1 for normal text.