#505F66 color
The hex color #505F66 is a dark, grayish azure.
In the RGB color model it is made of 31.4% red, 37.3% green and 40% blue (80, 95, 102).
Its hue angle is 199°, with 12% saturation and 36% lightness. For print, the CMYK equivalent is 22% cyan, 7% magenta, 0% yellow and 60% black.
The closest named color is Lava Rock (#535E64), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.62:1).
#505F66 color codes
| HEX | #505F66 | |
|---|---|---|
| RGB | rgb(80, 95, 102) | |
| RGB percent | rgb(31.4%, 37.3%, 40%) | |
| HSL | hsl(199, 12%, 36%) | |
| HSV / HSB | hsv(199, 22%, 40%) | |
| CMYK | cmyk(22%, 7%, 0%, 60%) | |
| CIE LAB | lab(39.32, -4.03, -5.91) | |
| CIE LCH | lch(39.32, 7.15, 235.72) | |
| CIE XYZ | xyz(9.798, 10.849, 14.146) | |
| Decimal | 5267302 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505F66, 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 #505F66 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.17:1 | Fail | Fail | Pass |
| Sample text | 6.62:1 | Pass | Fail | Pass |
| #505F66 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.62:1 | Pass | Fail | Pass |
| Sample text | 3.17: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 #505F66 looks to people with the most common types of color vision deficiency.
#5b5e66Protanopia
no red cones#585b66Deuteranopia
no green cones#4a6161Tritanopia
no blue cones#5d5d5dAchromatopsia
no color vision
CSS examples
.background { background-color: #505f66; }
.text { color: #505f66; }
.border { border: 2px solid #505f66; }
.transparent { background-color: rgb(80 95 102 / 50%); }
.gradient { background: linear-gradient(to right, #505f66, #505466); }
Similar colors
#535e64Lava Rock#4b5a62Fiord#59656dStreets of London#566062Yacht Club#526771Silent Night#46565fGood Night!#4a5c6aSeven Seas#4a5d5fStill Waters Run Deep
Closest common color name: Dim Gray.
Questions
- What color is #505F66?
- #505F66 is a dark, grayish azure, closest to the named color Lava Rock. It belongs to the gray family of colors.
- What is the RGB value of #505F66?
- The RGB value is 80, 95, 102: 80 red, 95 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #505F66?
- The complementary color is #665750, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505F66?
- White text. Black text has a contrast ratio of 3.17:1 and white text 6.62:1. WCAG asks for at least 4.5:1 for normal text.