#7F7FA3 color

#7F7FA3 rgb(127, 127, 163)
Shades of blue

The hex color #7F7FA3 is a grayish blue.

In the RGB color model it is made of 49.8% red, 49.8% green and 63.9% blue (127, 127, 163).

Its hue angle is 240°, with 16% saturation and 57% lightness. For print, the CMYK equivalent is 22% cyan, 22% magenta, 0% yellow and 36% black.

The closest named color is Stormy Horizon (#777799), a difference of 3.2 ΔE, a small difference.

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

#7F7FA3 color codes

HEX#7F7FA3
RGBrgb(127, 127, 163)
RGB percentrgb(49.8%, 49.8%, 63.9%)
HSLhsl(240, 16%, 57%)
HSV / HSBhsv(240, 22%, 64%)
CMYKcmyk(22%, 22%, 0%, 36%)
CIE LABlab(54.38, 7.99, -19.15)
CIE LCHlch(54.38, 20.75, 292.65)
CIE XYZxyz(22.951, 22.335, 37.745)
Decimal8355747
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #7f7fa3; }
.text { color: #7f7fa3; }
.border { border: 2px solid #7f7fa3; }
.transparent { background-color: rgb(127 127 163 / 50%); }
.gradient { background: linear-gradient(to right, #7f7fa3, #917fa3); }
Background
Text color
Border

Similar colors

Closest common color name: Cool Gray.

Questions

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