#9798BB color

#9798BB rgb(151, 152, 187)
Shades of blue

The hex color #9798BB is a light, grayish blue.

In the RGB color model it is made of 59.2% red, 59.6% green and 73.3% blue (151, 152, 187).

Its hue angle is 238°, with 21% saturation and 66% lightness. For print, the CMYK equivalent is 19% cyan, 19% magenta, 0% yellow and 27% black.

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

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

#9798BB color codes

HEX#9798BB
RGBrgb(151, 152, 187)
RGB percentrgb(59.2%, 59.6%, 73.3%)
HSLhsl(238, 21%, 66%)
HSV / HSBhsv(238, 19%, 73%)
CMYKcmyk(19%, 19%, 0%, 27%)
CIE LABlab(63.85, 7.07, -18.21)
CIE LCHlch(63.85, 19.54, 291.22)
CIE XYZxyz(32.958, 32.623, 51.565)
Decimal9935035
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #9798BB, 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 #9798BBRatioAAAAAAA large
Sample text7.52:1PassPassPass
Sample text2.79:1FailFailFail
#9798BB as text onRatioAAAAAAA large
Sample text2.79:1FailFailFail
Sample text7.52: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 #9798BB looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #9798bb; }
.text { color: #9798bb; }
.border { border: 2px solid #9798bb; }
.transparent { background-color: rgb(151 152 187 / 50%); }
.gradient { background: linear-gradient(to right, #9798bb, #a897bb); }
Background
Text color
Border

Similar colors

Questions

What color is #9798BB?
#9798BB is a light, grayish blue, closest to the named color Cool Gray. It belongs to the blue family of colors.
What is the RGB value of #9798BB?
The RGB value is 151, 152, 187: 151 red, 152 green and 187 blue on a 0 to 255 scale.
What is the complementary color of #9798BB?
The complementary color is #BBBA97, found by rotating the hue 180° on the color wheel.
Is black or white text better on #9798BB?
Black text. Black text has a contrast ratio of 7.52:1 and white text 2.79:1. WCAG asks for at least 4.5:1 for normal text.