#7F87A1 color

#7F87A1 rgb(127, 135, 161)
Shades of blue

The hex color #7F87A1 is a grayish blue.

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

Its hue angle is 226°, with 15% saturation and 56% lightness. For print, the CMYK equivalent is 21% cyan, 16% magenta, 0% yellow and 37% black.

The closest named color is Tempest (#79839B), a difference of 2.1 ΔE, a small difference.

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

#7F87A1 color codes

HEX#7F87A1
RGBrgb(127, 135, 161)
RGB percentrgb(49.8%, 52.9%, 63.1%)
HSLhsl(226, 15%, 56%)
HSV / HSBhsv(226, 21%, 63%)
CMYKcmyk(21%, 16%, 0%, 37%)
CIE LABlab(56.5, 2.87, -14.78)
CIE LCHlch(56.5, 15.05, 280.98)
CIE XYZxyz(23.848, 24.413, 37.167)
Decimal8357793
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7F87A1, 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 #7F87A1RatioAAAAAAA large
Sample text5.88:1PassFailPass
Sample text3.57:1FailFailPass
#7F87A1 as text onRatioAAAAAAA large
Sample text3.57:1FailFailPass
Sample text5.88: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 #7F87A1 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Questions

What color is #7F87A1?
#7F87A1 is a grayish blue, closest to the named color Tempest. It belongs to the blue family of colors.
What is the RGB value of #7F87A1?
The RGB value is 127, 135, 161: 127 red, 135 green and 161 blue on a 0 to 255 scale.
What is the complementary color of #7F87A1?
The complementary color is #A1997F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7F87A1?
Black text. Black text has a contrast ratio of 5.88:1 and white text 3.57:1. WCAG asks for at least 4.5:1 for normal text.