Skip to content
Kolorvia
#797a87

Color #797a87

A nearly neutral, gray-leaning medium blue.

Conversions

HEX
#797a87
RGB
rgb(121, 122, 135)
HSL
hsl(235.7, 5.5%, 50.2%)
HSV / HSB
hsv(235.7, 10.4%, 52.9%)
CMYK
cmyk(10.4%, 9.6%, 0%, 47.1%)
LAB
lab(51.53, 2.37, -7.18)
LCH
lch(51.53, 7.56, 288.27)
OKLCH
oklch(58.3%, 0.0198, 282.28)
HWB
hwb(235.7, 47.5%, 47.1%)

Harmony colors

Complementary

#878679

Analogous

#798187
#797a87
#7f7987

Triadic

#797a87
#87797a
#7a8779

Split-complementary

#797a87
#877f79
#818779

Tetradic

#797a87
#867987
#878679
#7a8779

Square

#797a87
#877981
#878679
#79877f

Shades

Color #797a87 mixed toward black.

#656671
#51515a
#3c3d44
#28292d
#141417

Tints

Color #797a87 mixed toward white.

#8f909b
#a6a6af
#bcbdc3
#d2d3d7
#e9e9eb

Tones

Color #797a87 mixed toward gray.

#7a7b86
#7b7c85
#7d7d84
#7e7e82
#7f7f81

Accessibility

Aa White text on this color
4.25:1
Aa Black text on this color
4.95:1

Black text reads better on this background (4.95:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#797984 · ΔE 1

Deuteranopia

#797983 · ΔE 1.4

Tritanopia

#798281 · ΔE 9.7

Achromatopsia

#7b7b7b · ΔE 6.8

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #797a87;
Tailwind (arbitrary value)
bg-[#797a87]

Related colors

Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b
Ghost White #f8f8ff
Medium Blue #0000cd

Frequently asked questions

#797a87 (#797a87) is rgb(121, 122, 135) in RGB.

No, #797a87 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #797a87, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.