#7D7F8B color
The hex color #7D7F8B is a gray.
In the RGB color model it is made of 49% red, 49.8% green and 54.5% blue (125, 127, 139).
Its hue angle is 231°, with 6% saturation and 52% lightness. For print, the CMYK equivalent is 10% cyan, 9% magenta, 0% yellow and 45% black.
The closest named color is Silver Surfer (#7E7D88), a difference of 1.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.28:1).
#7D7F8B color codes
| HEX | #7D7F8B | |
|---|---|---|
| RGB | rgb(125, 127, 139) | |
| RGB percent | rgb(49%, 49.8%, 54.5%) | |
| HSL | hsl(231, 6%, 52%) | |
| HSV / HSB | hsv(231, 10%, 55%) | |
| CMYK | cmyk(10%, 9%, 0%, 45%) | |
| CIE LAB | lab(53.39, 1.77, -6.73) | |
| CIE LCH | lch(53.39, 6.96, 284.74) | |
| CIE XYZ | xyz(20.706, 21.403, 27.461) | |
| Decimal | 8224651 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7D7F8B, 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 #7D7F8B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.28:1 | Pass | Fail | Pass |
| Sample text | 3.98:1 | Fail | Fail | Pass |
| #7D7F8B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.98:1 | Fail | Fail | Pass |
| Sample text | 5.28:1 | Pass | 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 #7D7F8B looks to people with the most common types of color vision deficiency.
#7c808cProtanopia
no red cones#7b7f8bDeuteranopia
no green cones#7a8183Tritanopia
no blue cones#7f7f7fAchromatopsia
no color vision
CSS examples
.background { background-color: #7d7f8b; }
.text { color: #7d7f8b; }
.border { border: 2px solid #7d7f8b; }
.transparent { background-color: rgb(125 127 139 / 50%); }
.gradient { background: linear-gradient(to right, #7d7f8b, #827d8b); }
Similar colors
#7e7d88Silver Surfer#84838eIn the Twilight#747a8aAbandoned Spaceship#848393Mecha Metal#7e8590Smoky Studio#828287Lunar Outpost#767d86Nocturnal#787e93Your Shadow
Closest common color name: Slate Gray.
Questions
- What color is #7D7F8B?
- #7D7F8B is a gray, closest to the named color Silver Surfer. It belongs to the gray family of colors.
- What is the RGB value of #7D7F8B?
- The RGB value is 125, 127, 139: 125 red, 127 green and 139 blue on a 0 to 255 scale.
- What is the complementary color of #7D7F8B?
- The complementary color is #8B897D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7D7F8B?
- Black text. Black text has a contrast ratio of 5.28:1 and white text 3.98:1. WCAG asks for at least 4.5:1 for normal text.