#7F7E9F color

#7F7E9F rgb(127, 126, 159)
Shades of blue

The hex color #7F7E9F is a grayish blue.

In the RGB color model it is made of 49.8% red, 49.4% green and 62.4% blue (127, 126, 159).

Its hue angle is 242°, with 15% saturation and 56% lightness. For print, the CMYK equivalent is 20% cyan, 21% magenta, 0% yellow and 38% black.

The closest named color is Stormy Horizon (#777799), a difference of 2.8 ΔE, a small difference.

Black text is the more readable choice on this background (contrast 5.39:1).

#7F7E9F color codes

HEX#7F7E9F
RGBrgb(127, 126, 159)
RGB percentrgb(49.8%, 49.4%, 62.4%)
HSLhsl(242, 15%, 56%)
HSV / HSBhsv(242, 21%, 62%)
CMYKcmyk(20%, 21%, 0%, 38%)
CIE LABlab(53.96, 7.61, -17.48)
CIE LCHlch(53.96, 19.06, 293.54)
CIE XYZxyz(22.47, 21.937, 35.845)
Decimal8355487
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7F7E9F, 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 #7F7E9FRatioAAAAAAA large
Sample text5.39:1PassFailPass
Sample text3.9:1FailFailPass
#7F7E9F as text onRatioAAAAAAA large
Sample text3.9:1FailFailPass
Sample text5.39:1PassFailPass

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 #7F7E9F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #7f7e9f; }
.text { color: #7f7e9f; }
.border { border: 2px solid #7f7e9f; }
.transparent { background-color: rgb(127 126 159 / 50%); }
.gradient { background: linear-gradient(to right, #7f7e9f, #8f7e9f); }
Background
Text color
Border

Similar colors

Closest common color name: Cool Gray.

Questions

What color is #7F7E9F?
#7F7E9F 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 #7F7E9F?
The RGB value is 127, 126, 159: 127 red, 126 green and 159 blue on a 0 to 255 scale.
What is the complementary color of #7F7E9F?
The complementary color is #9E9F7E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7F7E9F?
Black text. Black text has a contrast ratio of 5.39:1 and white text 3.9:1. WCAG asks for at least 4.5:1 for normal text.