#7E8A9E color

#7E8A9E rgb(126, 138, 158)
Shades of gray

The hex color #7E8A9E is a grayish azure.

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

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

The closest named color is Roman Silver (#838996), a difference of 3.2 ΔE, a small difference.

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

#7E8A9E color codes

HEX#7E8A9E
RGBrgb(126, 138, 158)
RGB percentrgb(49.4%, 54.1%, 62%)
HSLhsl(218, 14%, 56%)
HSV / HSBhsv(218, 20%, 62%)
CMYKcmyk(20%, 13%, 0%, 38%)
CIE LABlab(57.15, 0.11, -12.07)
CIE LCHlch(57.15, 12.07, 270.51)
CIE XYZxyz(23.863, 25.081, 35.925)
Decimal8293022
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

What color is #7E8A9E?
#7E8A9E is a grayish azure, closest to the named color Roman Silver. It belongs to the gray family of colors.
What is the RGB value of #7E8A9E?
The RGB value is 126, 138, 158: 126 red, 138 green and 158 blue on a 0 to 255 scale.
What is the complementary color of #7E8A9E?
The complementary color is #9E927E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7E8A9E?
Black text. Black text has a contrast ratio of 6.02:1 and white text 3.49:1. WCAG asks for at least 4.5:1 for normal text.