#7F8FA3 color
The hex color #7F8FA3 is a grayish azure.
In the RGB color model it is made of 49.8% red, 56.1% green and 63.9% blue (127, 143, 163).
Its hue angle is 213°, with 16% saturation and 57% lightness. For print, the CMYK equivalent is 22% cyan, 12% magenta, 0% yellow and 36% black.
The closest named color is Light Slate Gray (#778899), a difference of 3.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.36:1).
#7F8FA3 color codes
| HEX | #7F8FA3 | |
|---|---|---|
| RGB | rgb(127, 143, 163) | |
| RGB percent | rgb(49.8%, 56.1%, 63.9%) | |
| HSL | hsl(213, 16%, 57%) | |
| HSV / HSB | hsv(213, 22%, 64%) | |
| CMYK | cmyk(22%, 12%, 0%, 36%) | |
| CIE LAB | lab(58.79, -1.22, -12.47) | |
| CIE LCH | lch(58.79, 12.53, 264.39) | |
| CIE XYZ | xyz(25.184, 26.801, 38.489) | |
| Decimal | 8359843 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F8FA3, 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 #7F8FA3 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.36:1 | Pass | Fail | Pass |
| Sample text | 3.3:1 | Fail | Fail | Pass |
| #7F8FA3 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.3:1 | Fail | Fail | Pass |
| Sample text | 6.36: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 #7F8FA3 looks to people with the most common types of color vision deficiency.
#888fa4Protanopia
no red cones#848ca3Deuteranopia
no green cones#769395Tritanopia
no blue cones#8d8d8dAchromatopsia
no color vision
CSS examples
.background { background-color: #7f8fa3; }
.text { color: #7f8fa3; }
.border { border: 2px solid #7f8fa3; }
.transparent { background-color: rgb(127 143 163 / 50%); }
.gradient { background: linear-gradient(to right, #7f8fa3, #817fa3); }
Similar colors
#778899Light Slate Gray#839ab0Monsoon Season#7c94b3Celestial Horizon#838996Roman Silver#7f8793Sea Lion#8d95aaSilverfish#8d99b1Moon Veil#8b9cacBlank Stare
Questions
- What color is #7F8FA3?
- #7F8FA3 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 #7F8FA3?
- The RGB value is 127, 143, 163: 127 red, 143 green and 163 blue on a 0 to 255 scale.
- What is the complementary color of #7F8FA3?
- The complementary color is #A3937F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F8FA3?
- Black text. Black text has a contrast ratio of 6.36:1 and white text 3.3:1. WCAG asks for at least 4.5:1 for normal text.