#505D6B color
The hex color #505D6B is a dark, grayish azure.
In the RGB color model it is made of 31.4% red, 36.5% green and 42% blue (80, 93, 107).
Its hue angle is 211°, with 14% saturation and 37% lightness. For print, the CMYK equivalent is 25% cyan, 13% magenta, 0% yellow and 58% black.
The closest named color is Storm Rising (#4D5A6B), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.73:1).
#505D6B color codes
| HEX | #505D6B | |
|---|---|---|
| RGB | rgb(80, 93, 107) | |
| RGB percent | rgb(31.4%, 36.5%, 42%) | |
| HSL | hsl(211, 14%, 37%) | |
| HSV / HSB | hsv(211, 25%, 42%) | |
| CMYK | cmyk(25%, 13%, 0%, 58%) | |
| CIE LAB | lab(38.89, -1.54, -9.64) | |
| CIE LCH | lch(38.89, 9.76, 260.94) | |
| CIE XYZ | xyz(9.876, 10.595, 15.432) | |
| Decimal | 5266795 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505D6B, 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 #505D6B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.12:1 | Fail | Fail | Pass |
| Sample text | 6.73:1 | Pass | Fail | Pass |
| #505D6B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.73:1 | Pass | Fail | Pass |
| Sample text | 3.12: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 #505D6B looks to people with the most common types of color vision deficiency.
#585d6cProtanopia
no red cones#555a6bDeuteranopia
no green cones#496061Tritanopia
no blue cones#5c5c5cAchromatopsia
no color vision
CSS examples
.background { background-color: #505d6b; }
.text { color: #505d6b; }
.border { border: 2px solid #505d6b; }
.transparent { background-color: rgb(80 93 107 / 50%); }
.gradient { background: linear-gradient(to right, #505d6b, #51506b); }
Similar colors
#4d5a6bStorm Rising#4a5c6aSeven Seas#566373Midnight Shadow#4c6177Night Market#4b5a62Fiord#535e64Lava Rock#59656dStreets of London#46565fGood Night!
Closest common color name: Charcoal.
Questions
- What color is #505D6B?
- #505D6B is a dark, grayish azure, closest to the named color Storm Rising. It belongs to the gray family of colors.
- What is the RGB value of #505D6B?
- The RGB value is 80, 93, 107: 80 red, 93 green and 107 blue on a 0 to 255 scale.
- What is the complementary color of #505D6B?
- The complementary color is #6B5E50, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505D6B?
- White text. Black text has a contrast ratio of 3.12:1 and white text 6.73:1. WCAG asks for at least 4.5:1 for normal text.