#505876 color
The hex color #505876 is a grayish blue.
In the RGB color model it is made of 31.4% red, 34.5% green and 46.3% blue (80, 88, 118).
Its hue angle is 227°, with 19% saturation and 39% lightness. For print, the CMYK equivalent is 32% cyan, 25% magenta, 0% yellow and 54% black.
The closest named color is Deep Indigo (#4C567A), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7:1).
#505876 color codes
| HEX | #505876 | |
|---|---|---|
| RGB | rgb(80, 88, 118) | |
| RGB percent | rgb(31.4%, 34.5%, 46.3%) | |
| HSL | hsl(227, 19%, 39%) | |
| HSV / HSB | hsv(227, 32%, 46%) | |
| CMYK | cmyk(32%, 25%, 0%, 54%) | |
| CIE LAB | lab(37.83, 4.55, -18.03) | |
| CIE LCH | lch(37.83, 18.6, 284.15) | |
| CIE XYZ | xyz(10.067, 9.993, 18.534) | |
| Decimal | 5265526 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505876, 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 #505876 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3:1 | Fail | Fail | Fail |
| Sample text | 7:1 | Pass | Pass | Pass |
| #505876 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7:1 | Pass | Pass | Pass |
| Sample text | 3: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 #505876 looks to people with the most common types of color vision deficiency.
#4f5b77Protanopia
no red cones#4c5875Deuteranopia
no green cones#465e62Tritanopia
no blue cones#595959Achromatopsia
no color vision
CSS examples
.background { background-color: #505876; }
.text { color: #505876; }
.border { border: 2px solid #505876; }
.transparent { background-color: rgb(80 88 118 / 50%); }
.gradient { background: linear-gradient(to right, #505876, #5b5076); }
Similar colors
#4c567aDeep Indigo#4d516cIntergalactic#4f566cHeavy Violet#555570Majestic Magic#4e5481Dusk#445780Sailor#4d5b88Wizard#50507fTangent Periwinkle
Closest common color name: Charcoal.
Questions
- What color is #505876?
- #505876 is a grayish blue, closest to the named color Deep Indigo. It belongs to the blue family of colors.
- What is the RGB value of #505876?
- The RGB value is 80, 88, 118: 80 red, 88 green and 118 blue on a 0 to 255 scale.
- What is the complementary color of #505876?
- The complementary color is #766E50, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505876?
- White text. Black text has a contrast ratio of 3:1 and white text 7:1. WCAG asks for at least 4.5:1 for normal text.