Color #797a87
A nearly neutral, gray-leaning medium blue.
Conversions
#797a87
rgb(121, 122, 135)
hsl(235.7, 5.5%, 50.2%)
hsv(235.7, 10.4%, 52.9%)
cmyk(10.4%, 9.6%, 0%, 47.1%)
lab(51.53, 2.37, -7.18)
lch(51.53, 7.56, 288.27)
oklch(58.3%, 0.0198, 282.28)
hwb(235.7, 47.5%, 47.1%)
Harmony colors
Accessibility
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
background-color: #797a87;
bg-[#797a87]
Related colors
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
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #797a87, or check how it holds up for accessibility.