#505B76 color
The hex color #505B76 is a grayish blue.
In the RGB color model it is made of 31.4% red, 35.7% green and 46.3% blue (80, 91, 118).
Its hue angle is 223°, with 19% saturation and 39% lightness. For print, the CMYK equivalent is 32% cyan, 23% magenta, 0% yellow and 54% black.
The closest named color is Heavy Violet (#4F566C), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.78:1).
#505B76 color codes
| HEX | #505B76 | |
|---|---|---|
| RGB | rgb(80, 91, 118) | |
| RGB percent | rgb(31.4%, 35.7%, 46.3%) | |
| HSL | hsl(223, 19%, 39%) | |
| HSV / HSB | hsv(223, 32%, 46%) | |
| CMYK | cmyk(32%, 23%, 0%, 54%) | |
| CIE LAB | lab(38.72, 2.67, -16.67) | |
| CIE LCH | lch(38.72, 16.88, 279.11) | |
| CIE XYZ | xyz(10.318, 10.495, 18.618) | |
| Decimal | 5266294 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505B76, 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 #505B76 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.1:1 | Fail | Fail | Pass |
| Sample text | 6.78:1 | Pass | Fail | Pass |
| #505B76 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.78:1 | Pass | Fail | Pass |
| Sample text | 3.1:1 | Fail | Fail | Pass |
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 #505B76 looks to people with the most common types of color vision deficiency.
#525d77Protanopia
no red cones#4f5a75Deuteranopia
no green cones#456064Tritanopia
no blue cones#5b5b5bAchromatopsia
no color vision
CSS examples
.background { background-color: #505b76; }
.text { color: #505b76; }
.border { border: 2px solid #505b76; }
.transparent { background-color: rgb(80 91 118 / 50%); }
.gradient { background: linear-gradient(to right, #505b76, #585076); }
Similar colors
#4f566cHeavy Violet#4c567aDeep Indigo#4d516cIntergalactic#50647fAdmiral Blue#445780Sailor#44556bInkjet#4d5a6bStorm Rising#4d5b88Wizard
Closest common color name: Charcoal.
Questions
- What color is #505B76?
- #505B76 is a grayish blue, closest to the named color Heavy Violet. It belongs to the blue family of colors.
- What is the RGB value of #505B76?
- The RGB value is 80, 91, 118: 80 red, 91 green and 118 blue on a 0 to 255 scale.
- What is the complementary color of #505B76?
- The complementary color is #766B50, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505B76?
- White text. Black text has a contrast ratio of 3.1:1 and white text 6.78:1. WCAG asks for at least 4.5:1 for normal text.