#7B808A color
The hex color #7B808A is a gray.
In the RGB color model it is made of 48.2% red, 50.2% green and 54.1% blue (123, 128, 138).
Its hue angle is 220°, with 6% saturation and 51% lightness. For print, the CMYK equivalent is 11% cyan, 7% magenta, 0% yellow and 46% black.
The closest named color is Nocturnal (#767D86), a difference of 1.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.3:1).
#7B808A color codes
| HEX | #7B808A | |
|---|---|---|
| RGB | rgb(123, 128, 138) | |
| RGB percent | rgb(48.2%, 50.2%, 54.1%) | |
| HSL | hsl(220, 6%, 51%) | |
| HSV / HSB | hsv(220, 11%, 54%) | |
| CMYK | cmyk(11%, 7%, 0%, 46%) | |
| CIE LAB | lab(53.48, 0.26, -6.03) | |
| CIE LCH | lch(53.48, 6.04, 272.51) | |
| CIE XYZ | xyz(20.474, 21.484, 27.108) | |
| Decimal | 8093834 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7B808A, 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 #7B808A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.3:1 | Pass | Fail | Pass |
| Sample text | 3.96:1 | Fail | Fail | Pass |
| #7B808A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.96:1 | Fail | Fail | Pass |
| Sample text | 5.3: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 #7B808A looks to people with the most common types of color vision deficiency.
#7d808bProtanopia
no red cones#7c7f8aDeuteranopia
no green cones#788283Tritanopia
no blue cones#808080Achromatopsia
no color vision
CSS examples
.background { background-color: #7b808a; }
.text { color: #7b808a; }
.border { border: 2px solid #7b808a; }
.transparent { background-color: rgb(123 128 138 / 50%); }
.gradient { background: linear-gradient(to right, #7b808a, #7e7b8a); }
Similar colors
#767d86Nocturnal#7e8590Smoky Studio#7d848bSerious Cloud#7f8793Sea Lion#828287Lunar Outpost#7e7d88Silver Surfer#838996Roman Silver#747a8aAbandoned Spaceship
Closest common color name: Slate Gray.
Questions
- What color is #7B808A?
- #7B808A is a gray, closest to the named color Nocturnal. It belongs to the gray family of colors.
- What is the RGB value of #7B808A?
- The RGB value is 123, 128, 138: 123 red, 128 green and 138 blue on a 0 to 255 scale.
- What is the complementary color of #7B808A?
- The complementary color is #8A857B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7B808A?
- Black text. Black text has a contrast ratio of 5.3:1 and white text 3.96:1. WCAG asks for at least 4.5:1 for normal text.