#7B7B8E color
The hex color #7B7B8E is a gray.
In the RGB color model it is made of 48.2% red, 48.2% green and 55.7% blue (123, 123, 142).
Its hue angle is 240°, with 8% saturation and 52% lightness. For print, the CMYK equivalent is 13% cyan, 13% magenta, 0% yellow and 44% black.
The closest named color is Your Shadow (#787E93), a difference of 2.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.07:1).
#7B7B8E color codes
| HEX | #7B7B8E | |
|---|---|---|
| RGB | rgb(123, 123, 142) | |
| RGB percent | rgb(48.2%, 48.2%, 55.7%) | |
| HSL | hsl(240, 8%, 52%) | |
| HSV / HSB | hsv(240, 13%, 56%) | |
| CMYK | cmyk(13%, 13%, 0%, 44%) | |
| CIE LAB | lab(52.21, 4.05, -10.26) | |
| CIE LCH | lch(52.21, 11.03, 291.55) | |
| CIE XYZ | xyz(20.133, 20.33, 28.449) | |
| Decimal | 8092558 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7B7B8E, 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 #7B7B8E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.07:1 | Pass | Fail | Pass |
| Sample text | 4.15:1 | Fail | Fail | Pass |
| #7B7B8E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.15:1 | Fail | Fail | Pass |
| Sample text | 5.07: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 #7B7B8E looks to people with the most common types of color vision deficiency.
#777d8fProtanopia
no red cones#767c8dDeuteranopia
no green cones#777e81Tritanopia
no blue cones#7c7c7cAchromatopsia
no color vision
CSS examples
.background { background-color: #7b7b8e; }
.text { color: #7b7b8e; }
.border { border: 2px solid #7b7b8e; }
.transparent { background-color: rgb(123 123 142 / 50%); }
.gradient { background: linear-gradient(to right, #7b7b8e, #857b8e); }
Similar colors
#787e93Your Shadow#787489Flying Carpet#848393Mecha Metal#7e7d88Silver Surfer#747a8aAbandoned Spaceship#84838eIn the Twilight#888899Dusty Chimney#79839bTempest
Closest common color name: Space Gray.
Questions
- What color is #7B7B8E?
- #7B7B8E is a gray, closest to the named color Your Shadow. It belongs to the gray family of colors.
- What is the RGB value of #7B7B8E?
- The RGB value is 123, 123, 142: 123 red, 123 green and 142 blue on a 0 to 255 scale.
- What is the complementary color of #7B7B8E?
- The complementary color is #8E8E7B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7B7B8E?
- Black text. Black text has a contrast ratio of 5.07:1 and white text 4.15:1. WCAG asks for at least 4.5:1 for normal text.