Color #797a7f
A nearly neutral, gray-leaning medium blue.
Conversions
#797a7f
rgb(121, 122, 127)
hsl(230, 2.4%, 48.6%)
hsv(230, 4.7%, 49.8%)
cmyk(4.7%, 3.9%, 0%, 50.2%)
lab(51.29, 0.65, -2.86)
lch(51.29, 2.93, 282.8)
oklch(58%, 0.0077, 276.75)
hwb(230, 47.5%, 50.2%)
Harmony colors
Accessibility
Black text reads better on this background (4.9:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#79797e · ΔE 0.6
Deuteranopia
#79797e · ΔE 0.6
Tritanopia
#797d7d · ΔE 3.8
Achromatopsia
#7a7a7a · ΔE 2.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #797a7f;
bg-[#797a7f]
Related colors
Frequently asked questions
#797a7f (#797a7f) is rgb(121, 122, 127) in RGB.
No, #797a7f 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 #797a7f, or check how it holds up for accessibility.