Color #797b7d
A nearly neutral, gray-leaning medium blue.
Conversions
#797b7d
rgb(121, 123, 125)
hsl(210, 1.6%, 48.2%)
hsv(210, 3.2%, 49%)
cmyk(3.2%, 1.6%, 0%, 51%)
lab(51.51, -0.34, -1.35)
lch(51.51, 1.39, 255.86)
oklch(58.2%, 0.0039, 247.38)
hwb(210, 47.5%, 51%)
Harmony colors
Accessibility
Black text reads better on this background (4.94:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7a7a7d · ΔE 1.4
Deuteranopia
#7a7a7c · ΔE 1.1
Tritanopia
#797c7c · ΔE 1.5
Achromatopsia
#7b7b7b · ΔE 1.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #797b7d;
bg-[#797b7d]
Related colors
Frequently asked questions
#797b7d (#797b7d) is rgb(121, 123, 125) in RGB.
No, #797b7d 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 #797b7d, or check how it holds up for accessibility.