#7F8AA0 color
The hex color #7F8AA0 is a grayish blue.
In the RGB color model it is made of 49.8% red, 54.1% green and 62.7% blue (127, 138, 160).
Its hue angle is 220°, with 15% saturation and 56% lightness. For print, the CMYK equivalent is 21% cyan, 14% magenta, 0% yellow and 37% black.
The closest named color is Tempest (#79839B), a difference of 2.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.05:1).
#7F8AA0 color codes
| HEX | #7F8AA0 | |
|---|---|---|
| RGB | rgb(127, 138, 160) | |
| RGB percent | rgb(49.8%, 54.1%, 62.7%) | |
| HSL | hsl(220, 15%, 56%) | |
| HSV / HSB | hsv(220, 21%, 63%) | |
| CMYK | cmyk(21%, 14%, 0%, 37%) | |
| CIE LAB | lab(57.3, 0.91, -13) | |
| CIE LCH | lch(57.3, 13.03, 274) | |
| CIE XYZ | xyz(24.184, 25.227, 36.846) | |
| Decimal | 8358560 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F8AA0, 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 #7F8AA0 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.05:1 | Pass | Fail | Pass |
| Sample text | 3.47:1 | Fail | Fail | Pass |
| #7F8AA0 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.47:1 | Fail | Fail | Pass |
| Sample text | 6.05: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 #7F8AA0 looks to people with the most common types of color vision deficiency.
#838ba1Protanopia
no red cones#80889fDeuteranopia
no green cones#778e91Tritanopia
no blue cones#8a8a8aAchromatopsia
no color vision
CSS examples
.background { background-color: #7f8aa0; }
.text { color: #7f8aa0; }
.border { border: 2px solid #7f8aa0; }
.transparent { background-color: rgb(127 138 160 / 50%); }
.gradient { background: linear-gradient(to right, #7f8aa0, #857fa0); }
Similar colors
#79839bTempest#74819aStonewash#838996Roman Silver#8d95aaSilverfish#7f8793Sea Lion#778899Light Slate Gray#8c92acCool Gray#787e93Your Shadow
Questions
- What color is #7F8AA0?
- #7F8AA0 is a grayish blue, closest to the named color Tempest. It belongs to the blue family of colors.
- What is the RGB value of #7F8AA0?
- The RGB value is 127, 138, 160: 127 red, 138 green and 160 blue on a 0 to 255 scale.
- What is the complementary color of #7F8AA0?
- The complementary color is #A0957F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F8AA0?
- Black text. Black text has a contrast ratio of 6.05:1 and white text 3.47:1. WCAG asks for at least 4.5:1 for normal text.