#878EA7 color

#878EA7 rgb(135, 142, 167)
Shades of blue

The hex color #878EA7 is a grayish blue.

In the RGB color model it is made of 52.9% red, 55.7% green and 65.5% blue (135, 142, 167).

Its hue angle is 227°, with 15% saturation and 59% lightness. For print, the CMYK equivalent is 19% cyan, 15% magenta, 0% yellow and 35% black.

The closest named color is Cool Gray (#8C92AC), a difference of 1.6 ΔE, which is barely visible.

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

#878EA7 color codes

HEX#878EA7
RGBrgb(135, 142, 167)
RGB percentrgb(52.9%, 55.7%, 65.5%)
HSLhsl(227, 15%, 59%)
HSV / HSBhsv(227, 19%, 65%)
CMYKcmyk(19%, 15%, 0%, 35%)
CIE LABlab(59.24, 2.9, -14.01)
CIE LCHlch(59.24, 14.31, 281.71)
CIE XYZxyz(26.638, 27.286, 40.415)
Decimal8883879
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #878ea7; }
.text { color: #878ea7; }
.border { border: 2px solid #878ea7; }
.transparent { background-color: rgb(135 142 167 / 50%); }
.gradient { background: linear-gradient(to right, #878ea7, #9087a7); }
Background
Text color
Border

Similar colors

Questions

What color is #878EA7?
#878EA7 is a grayish blue, closest to the named color Cool Gray. It belongs to the blue family of colors.
What is the RGB value of #878EA7?
The RGB value is 135, 142, 167: 135 red, 142 green and 167 blue on a 0 to 255 scale.
What is the complementary color of #878EA7?
The complementary color is #A7A087, found by rotating the hue 180° on the color wheel.
Is black or white text better on #878EA7?
Black text. Black text has a contrast ratio of 6.46:1 and white text 3.25:1. WCAG asks for at least 4.5:1 for normal text.