#7F7FA3 color
The hex color #7F7FA3 is a grayish blue.
In the RGB color model it is made of 49.8% red, 49.8% green and 63.9% blue (127, 127, 163).
Its hue angle is 240°, with 16% saturation and 57% lightness. For print, the CMYK equivalent is 22% cyan, 22% magenta, 0% yellow and 36% black.
The closest named color is Stormy Horizon (#777799), a difference of 3.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.47:1).
#7F7FA3 color codes
| HEX | #7F7FA3 | |
|---|---|---|
| RGB | rgb(127, 127, 163) | |
| RGB percent | rgb(49.8%, 49.8%, 63.9%) | |
| HSL | hsl(240, 16%, 57%) | |
| HSV / HSB | hsv(240, 22%, 64%) | |
| CMYK | cmyk(22%, 22%, 0%, 36%) | |
| CIE LAB | lab(54.38, 7.99, -19.15) | |
| CIE LCH | lch(54.38, 20.75, 292.65) | |
| CIE XYZ | xyz(22.951, 22.335, 37.745) | |
| Decimal | 8355747 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F7FA3, 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 #7F7FA3 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.47:1 | Pass | Fail | Pass |
| Sample text | 3.84:1 | Fail | Fail | Pass |
| #7F7FA3 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.84:1 | Fail | Fail | Pass |
| Sample text | 5.47: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 #7F7FA3 looks to people with the most common types of color vision deficiency.
#7683a5Protanopia
no red cones#7581a2Deuteranopia
no green cones#77858bTritanopia
no blue cones#828282Achromatopsia
no color vision
CSS examples
.background { background-color: #7f7fa3; }
.text { color: #7f7fa3; }
.border { border: 2px solid #7f7fa3; }
.transparent { background-color: rgb(127 127 163 / 50%); }
.gradient { background: linear-gradient(to right, #7f7fa3, #917fa3); }
Similar colors
#777799Stormy Horizon#867ba9Aster#807396Purple Haze#7181a4English Manor#787e93Your Shadow#79839bTempest#7f8cb8Galactic Gossamer#847592Vintage
Closest common color name: Cool Gray.
Questions
- What color is #7F7FA3?
- #7F7FA3 is a grayish blue, closest to the named color Stormy Horizon. It belongs to the blue family of colors.
- What is the RGB value of #7F7FA3?
- The RGB value is 127, 127, 163: 127 red, 127 green and 163 blue on a 0 to 255 scale.
- What is the complementary color of #7F7FA3?
- The complementary color is #A3A37F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F7FA3?
- Black text. Black text has a contrast ratio of 5.47:1 and white text 3.84:1. WCAG asks for at least 4.5:1 for normal text.