#7E8FAF color

#7E8FAF rgb(126, 143, 175)
Shades of blue

The hex color #7E8FAF is a grayish azure.

In the RGB color model it is made of 49.4% red, 56.1% green and 68.6% blue (126, 143, 175).

Its hue angle is 219°, with 23% saturation and 59% lightness. For print, the CMYK equivalent is 28% cyan, 18% magenta, 0% yellow and 31% black.

The closest named color is Celestial Horizon (#7C94B3), a difference of 3 ΔE, a small difference.

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

#7E8FAF color codes

HEX#7E8FAF
RGBrgb(126, 143, 175)
RGB percentrgb(49.4%, 56.1%, 68.6%)
HSLhsl(219, 23%, 59%)
HSV / HSBhsv(219, 28%, 69%)
CMYKcmyk(28%, 18%, 0%, 31%)
CIE LABlab(59.14, 1.39, -18.78)
CIE LCHlch(59.14, 18.83, 274.23)
CIE XYZxyz(26.162, 27.175, 44.416)
Decimal8294319
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #7e8faf; }
.text { color: #7e8faf; }
.border { border: 2px solid #7e8faf; }
.transparent { background-color: rgb(126 143 175 / 50%); }
.gradient { background: linear-gradient(to right, #7e8faf, #857eaf); }
Background
Text color
Border

Similar colors

Questions

What color is #7E8FAF?
#7E8FAF is a grayish azure, closest to the named color Celestial Horizon. It belongs to the blue family of colors.
What is the RGB value of #7E8FAF?
The RGB value is 126, 143, 175: 126 red, 143 green and 175 blue on a 0 to 255 scale.
What is the complementary color of #7E8FAF?
The complementary color is #AF9E7E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7E8FAF?
Black text. Black text has a contrast ratio of 6.44:1 and white text 3.26:1. WCAG asks for at least 4.5:1 for normal text.