#506071 color
The hex color #506071 is a dark, grayish azure.
In the RGB color model it is made of 31.4% red, 37.6% green and 44.3% blue (80, 96, 113).
Its hue angle is 211°, with 17% saturation and 38% lightness. For print, the CMYK equivalent is 29% cyan, 15% magenta, 0% yellow and 56% black.
The closest named color is Midnight Shadow (#566373), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.46:1).
#506071 color codes
| HEX | #506071 | |
|---|---|---|
| RGB | rgb(80, 96, 113) | |
| RGB percent | rgb(31.4%, 37.6%, 44.3%) | |
| HSL | hsl(211, 17%, 38%) | |
| HSV / HSB | hsv(211, 29%, 44%) | |
| CMYK | cmyk(29%, 15%, 0%, 56%) | |
| CIE LAB | lab(40.02, -1.77, -11.62) | |
| CIE LCH | lch(40.02, 11.75, 261.31) | |
| CIE XYZ | xyz(10.471, 11.263, 17.242) | |
| Decimal | 5267569 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #506071, 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 #506071 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.25:1 | Fail | Fail | Pass |
| Sample text | 6.46:1 | Pass | Fail | Pass |
| #506071 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.46:1 | Pass | Fail | Pass |
| Sample text | 3.25: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 #506071 looks to people with the most common types of color vision deficiency.
#5a6072Protanopia
no red cones#565d71Deuteranopia
no green cones#476465Tritanopia
no blue cones#5e5e5eAchromatopsia
no color vision
CSS examples
.background { background-color: #506071; }
.text { color: #506071; }
.border { border: 2px solid #506071; }
.transparent { background-color: rgb(80 96 113 / 50%); }
.gradient { background: linear-gradient(to right, #506071, #505071); }
Similar colors
#566373Midnight Shadow#4c6177Night Market#4d5a6bStorm Rising#4a5c6aSeven Seas#50647fAdmiral Blue#46647eStellar#44556bInkjet#59656dStreets of London
Closest common color name: Charcoal.
Questions
- What color is #506071?
- #506071 is a dark, grayish azure, closest to the named color Midnight Shadow. It belongs to the gray family of colors.
- What is the RGB value of #506071?
- The RGB value is 80, 96, 113: 80 red, 96 green and 113 blue on a 0 to 255 scale.
- What is the complementary color of #506071?
- The complementary color is #716150, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #506071?
- White text. Black text has a contrast ratio of 3.25:1 and white text 6.46:1. WCAG asks for at least 4.5:1 for normal text.