#7C7D8E color
The hex color #7C7D8E is a gray.
In the RGB color model it is made of 48.6% red, 49% green and 55.7% blue (124, 125, 142).
Its hue angle is 237°, with 7% saturation and 52% lightness. For print, the CMYK equivalent is 13% cyan, 12% magenta, 0% yellow and 44% black.
The closest named color is Your Shadow (#787E93), a difference of 2.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.18:1).
#7C7D8E color codes
| HEX | #7C7D8E | |
|---|---|---|
| RGB | rgb(124, 125, 142) | |
| RGB percent | rgb(48.6%, 49%, 55.7%) | |
| HSL | hsl(237, 7%, 52%) | |
| HSV / HSB | hsv(237, 13%, 56%) | |
| CMYK | cmyk(13%, 12%, 0%, 44%) | |
| CIE LAB | lab(52.85, 3.24, -9.3) | |
| CIE LCH | lch(52.85, 9.84, 289.2) | |
| CIE XYZ | xyz(20.527, 20.905, 28.54) | |
| Decimal | 8158606 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7C7D8E, 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 #7C7D8E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.18:1 | Pass | Fail | Pass |
| Sample text | 4.05:1 | Fail | Fail | Pass |
| #7C7D8E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.05:1 | Fail | Fail | Pass |
| Sample text | 5.18: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 #7C7D8E looks to people with the most common types of color vision deficiency.
#797f8fProtanopia
no red cones#787e8eDeuteranopia
no green cones#788082Tritanopia
no blue cones#7e7e7eAchromatopsia
no color vision
CSS examples
.background { background-color: #7c7d8e; }
.text { color: #7c7d8e; }
.border { border: 2px solid #7c7d8e; }
.transparent { background-color: rgb(124 125 142 / 50%); }
.gradient { background: linear-gradient(to right, #7c7d8e, #847c8e); }
Similar colors
#787e93Your Shadow#848393Mecha Metal#7e7d88Silver Surfer#747a8aAbandoned Spaceship#84838eIn the Twilight#888899Dusty Chimney#787489Flying Carpet#79839bTempest
Closest common color name: Slate Gray.
Questions
- What color is #7C7D8E?
- #7C7D8E is a gray, closest to the named color Your Shadow. It belongs to the gray family of colors.
- What is the RGB value of #7C7D8E?
- The RGB value is 124, 125, 142: 124 red, 125 green and 142 blue on a 0 to 255 scale.
- What is the complementary color of #7C7D8E?
- The complementary color is #8E8D7C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7C7D8E?
- Black text. Black text has a contrast ratio of 5.18:1 and white text 4.05:1. WCAG asks for at least 4.5:1 for normal text.