#7E8AAB color

#7E8AAB rgb(126, 138, 171)
Shades of blue

The hex color #7E8AAB is a grayish blue.

In the RGB color model it is made of 49.4% red, 54.1% green and 67.1% blue (126, 138, 171).

Its hue angle is 224°, with 21% saturation and 58% lightness. For print, the CMYK equivalent is 26% cyan, 19% magenta, 0% yellow and 33% black.

The closest named color is Galactic Gossamer (#7F8CB8), a difference of 3 ΔE, a small difference.

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

#7E8AAB color codes

HEX#7E8AAB
RGBrgb(126, 138, 171)
RGB percentrgb(49.4%, 54.1%, 67.1%)
HSLhsl(224, 21%, 58%)
HSV / HSBhsv(224, 26%, 67%)
CMYKcmyk(26%, 19%, 0%, 33%)
CIE LABlab(57.61, 3.25, -18.83)
CIE LCHlch(57.61, 19.11, 279.8)
CIE XYZxyz(25.041, 25.552, 42.133)
Decimal8293035
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7E8AAB, 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 #7E8AABRatioAAAAAAA large
Sample text6.11:1PassFailPass
Sample text3.44:1FailFailPass
#7E8AAB as text onRatioAAAAAAA large
Sample text3.44:1FailFailPass
Sample text6.11: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 #7E8AAB looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #7e8aab; }
.text { color: #7e8aab; }
.border { border: 2px solid #7e8aab; }
.transparent { background-color: rgb(126 138 171 / 50%); }
.gradient { background: linear-gradient(to right, #7e8aab, #897eab); }
Background
Text color
Border

Similar colors

Questions

What color is #7E8AAB?
#7E8AAB is a grayish blue, closest to the named color Galactic Gossamer. It belongs to the blue family of colors.
What is the RGB value of #7E8AAB?
The RGB value is 126, 138, 171: 126 red, 138 green and 171 blue on a 0 to 255 scale.
What is the complementary color of #7E8AAB?
The complementary color is #AB9F7E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7E8AAB?
Black text. Black text has a contrast ratio of 6.11:1 and white text 3.44:1. WCAG asks for at least 4.5:1 for normal text.