#878CA1 color

#878CA1 rgb(135, 140, 161)
Shades of gray

The hex color #878CA1 is a grayish blue.

In the RGB color model it is made of 52.9% red, 54.9% green and 63.1% blue (135, 140, 161).

Its hue angle is 228°, with 12% saturation and 58% lightness. For print, the CMYK equivalent is 16% cyan, 13% magenta, 0% yellow and 37% black.

The closest named color is Cool Gray (#8C92AC), a difference of 2.7 ΔE, a small difference.

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

#878CA1 color codes

HEX#878CA1
RGBrgb(135, 140, 161)
RGB percentrgb(52.9%, 54.9%, 63.1%)
HSLhsl(228, 12%, 58%)
HSV / HSBhsv(228, 16%, 63%)
CMYKcmyk(16%, 13%, 0%, 37%)
CIE LABlab(58.49, 2.67, -11.71)
CIE LCHlch(58.49, 12.01, 282.84)
CIE XYZxyz(25.801, 26.48, 37.463)
Decimal8883361
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #878ca1; }
.text { color: #878ca1; }
.border { border: 2px solid #878ca1; }
.transparent { background-color: rgb(135 140 161 / 50%); }
.gradient { background: linear-gradient(to right, #878ca1, #8f87a1); }
Background
Text color
Border

Similar colors

Questions

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