#787FA8 color

#787FA8 rgb(120, 127, 168)
Shades of blue

The hex color #787FA8 is a grayish blue.

In the RGB color model it is made of 47.1% red, 49.8% green and 65.9% blue (120, 127, 168).

Its hue angle is 231°, with 22% saturation and 56% lightness. For print, the CMYK equivalent is 29% cyan, 24% magenta, 0% yellow and 34% black.

The closest named color is English Manor (#7181A4), a difference of 3.7 ΔE, a small difference.

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

#787FA8 color codes

HEX#787FA8
RGBrgb(120, 127, 168)
RGB percentrgb(47.1%, 49.8%, 65.9%)
HSLhsl(231, 22%, 56%)
HSV / HSBhsv(231, 29%, 66%)
CMYKcmyk(29%, 24%, 0%, 34%)
CIE LABlab(54.03, 7.02, -22.63)
CIE LCHlch(54.03, 23.69, 287.23)
CIE XYZxyz(22.401, 21.998, 40.104)
Decimal7897000
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #787fa8; }
.text { color: #787fa8; }
.border { border: 2px solid #787fa8; }
.transparent { background-color: rgb(120 127 168 / 50%); }
.gradient { background: linear-gradient(to right, #787fa8, #8978a8); }
Background
Text color
Border

Similar colors

Closest common color name: Cool Gray.

Questions

What color is #787FA8?
#787FA8 is a grayish blue, closest to the named color English Manor. It belongs to the blue family of colors.
What is the RGB value of #787FA8?
The RGB value is 120, 127, 168: 120 red, 127 green and 168 blue on a 0 to 255 scale.
What is the complementary color of #787FA8?
The complementary color is #A8A178, found by rotating the hue 180° on the color wheel.
Is black or white text better on #787FA8?
Black text. Black text has a contrast ratio of 5.4:1 and white text 3.89:1. WCAG asks for at least 4.5:1 for normal text.