#7F8C9A color
The hex color #7F8C9A is a grayish azure.
In the RGB color model it is made of 49.8% red, 54.9% green and 60.4% blue (127, 140, 154).
Its hue angle is 211°, with 12% saturation and 55% lightness. For print, the CMYK equivalent is 18% cyan, 9% magenta, 0% yellow and 40% black.
The closest named color is Light Slate Gray (#778899), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.12:1).
#7F8C9A color codes
| HEX | #7F8C9A | |
|---|---|---|
| RGB | rgb(127, 140, 154) | |
| RGB percent | rgb(49.8%, 54.9%, 60.4%) | |
| HSL | hsl(211, 12%, 55%) | |
| HSV / HSB | hsv(211, 18%, 60%) | |
| CMYK | cmyk(18%, 9%, 0%, 40%) | |
| CIE LAB | lab(57.66, -1.62, -9.02) | |
| CIE LCH | lch(57.66, 9.16, 259.8) | |
| CIE XYZ | xyz(23.962, 25.601, 34.245) | |
| Decimal | 8359066 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F8C9A, 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 #7F8C9A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.12:1 | Pass | Fail | Pass |
| Sample text | 3.43:1 | Fail | Fail | Pass |
| #7F8C9A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.43:1 | Fail | Fail | Pass |
| Sample text | 6.12: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 #7F8C9A looks to people with the most common types of color vision deficiency.
#878c9bProtanopia
no red cones#84899aDeuteranopia
no green cones#788f90Tritanopia
no blue cones#8a8a8aAchromatopsia
no color vision
CSS examples
.background { background-color: #7f8c9a; }
.text { color: #7f8c9a; }
.border { border: 2px solid #7f8c9a; }
.transparent { background-color: rgb(127 140 154 / 50%); }
.gradient { background: linear-gradient(to right, #7f8c9a, #807f9a); }
Similar colors
#778899Light Slate Gray#7f8793Sea Lion#838996Roman Silver#7e8590Smoky Studio#7d848bSerious Cloud#708090Slate Gray#70818eStormy Oceans#898c92Nuts and Bolts
Questions
- What color is #7F8C9A?
- #7F8C9A is a grayish azure, closest to the named color Light Slate Gray. It belongs to the gray family of colors.
- What is the RGB value of #7F8C9A?
- The RGB value is 127, 140, 154: 127 red, 140 green and 154 blue on a 0 to 255 scale.
- What is the complementary color of #7F8C9A?
- The complementary color is #9A8D7F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F8C9A?
- Black text. Black text has a contrast ratio of 6.12:1 and white text 3.43:1. WCAG asks for at least 4.5:1 for normal text.