#7B7E8F color
The hex color #7B7E8F is a grayish blue.
In the RGB color model it is made of 48.2% red, 49.4% green and 56.1% blue (123, 126, 143).
Its hue angle is 231°, with 8% saturation and 52% lightness. For print, the CMYK equivalent is 14% cyan, 12% magenta, 0% yellow and 44% black.
The closest named color is Your Shadow (#787E93), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.22:1).
#7B7E8F color codes
| HEX | #7B7E8F | |
|---|---|---|
| RGB | rgb(123, 126, 143) | |
| RGB percent | rgb(48.2%, 49.4%, 56.1%) | |
| HSL | hsl(231, 8%, 52%) | |
| HSV / HSB | hsv(231, 14%, 56%) | |
| CMYK | cmyk(14%, 12%, 0%, 44%) | |
| CIE LAB | lab(53.08, 2.53, -9.54) | |
| CIE LCH | lch(53.08, 9.87, 284.86) | |
| CIE XYZ | xyz(20.586, 21.116, 28.972) | |
| Decimal | 8093327 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7B7E8F, 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 #7B7E8F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.22:1 | Pass | Fail | Pass |
| Sample text | 4.02:1 | Fail | Fail | Pass |
| #7B7E8F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.02:1 | Fail | Fail | Pass |
| Sample text | 5.22: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 #7B7E8F looks to people with the most common types of color vision deficiency.
#7a7f90Protanopia
no red cones#797e8fDeuteranopia
no green cones#778183Tritanopia
no blue cones#7f7f7fAchromatopsia
no color vision
CSS examples
.background { background-color: #7b7e8f; }
.text { color: #7b7e8f; }
.border { border: 2px solid #7b7e8f; }
.transparent { background-color: rgb(123 126 143 / 50%); }
.gradient { background: linear-gradient(to right, #7b7e8f, #827b8f); }
Similar colors
#787e93Your Shadow#747a8aAbandoned Spaceship#848393Mecha Metal#7e7d88Silver Surfer#84838eIn the Twilight#79839bTempest#888899Dusty Chimney#74819aStonewash
Closest common color name: Slate Gray.
Questions
- What color is #7B7E8F?
- #7B7E8F is a grayish blue, closest to the named color Your Shadow. It belongs to the gray family of colors.
- What is the RGB value of #7B7E8F?
- The RGB value is 123, 126, 143: 123 red, 126 green and 143 blue on a 0 to 255 scale.
- What is the complementary color of #7B7E8F?
- The complementary color is #8F8C7B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7B7E8F?
- Black text. Black text has a contrast ratio of 5.22:1 and white text 4.02:1. WCAG asks for at least 4.5:1 for normal text.