#979EA2 color

#979EA2 rgb(151, 158, 162)
Shades of gray

The hex color #979EA2 is a gray.

In the RGB color model it is made of 59.2% red, 62% green and 63.5% blue (151, 158, 162).

Its hue angle is 202°, with 6% saturation and 61% lightness. For print, the CMYK equivalent is 7% cyan, 2% magenta, 0% yellow and 36% black.

The closest named color is Happy Cement (#979EA1), a difference of 0.6 ΔE, which is barely visible.

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

#979EA2 color codes

HEX#979EA2
RGBrgb(151, 158, 162)
RGB percentrgb(59.2%, 62%, 63.5%)
HSLhsl(202, 6%, 61%)
HSV / HSBhsv(202, 7%, 64%)
CMYKcmyk(7%, 2%, 0%, 36%)
CIE LABlab(64.68, -1.7, -2.95)
CIE LCHlch(64.68, 3.4, 240.09)
CIE XYZxyz(31.51, 33.641, 39.009)
Decimal9936546
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #979EA2, 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 #979EA2RatioAAAAAAA large
Sample text7.73:1PassPassPass
Sample text2.72:1FailFailFail
#979EA2 as text onRatioAAAAAAA large
Sample text2.72:1FailFailFail
Sample text7.73:1PassPassPass

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 #979EA2 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #979ea2; }
.text { color: #979ea2; }
.border { border: 2px solid #979ea2; }
.transparent { background-color: rgb(151 158 162 / 50%); }
.gradient { background: linear-gradient(to right, #979ea2, #9799a2); }
Background
Text color
Border

Similar colors

Questions

What color is #979EA2?
#979EA2 is a gray, closest to the named color Happy Cement. It belongs to the gray family of colors.
What is the RGB value of #979EA2?
The RGB value is 151, 158, 162: 151 red, 158 green and 162 blue on a 0 to 255 scale.
What is the complementary color of #979EA2?
The complementary color is #A29B97, found by rotating the hue 180° on the color wheel.
Is black or white text better on #979EA2?
Black text. Black text has a contrast ratio of 7.73:1 and white text 2.72:1. WCAG asks for at least 4.5:1 for normal text.