Color #7e798a
A nearly neutral, gray-leaning medium blue.
Conversions
#7e798a
rgb(126, 121, 138)
hsl(257.6, 6.8%, 50.8%)
hsv(257.6, 12.3%, 54.1%)
cmyk(8.7%, 12.3%, 0%, 45.9%)
lab(51.78, 5.4, -8.54)
lch(51.78, 10.1, 302.31)
oklch(58.6%, 0.0263, 298.91)
hwb(257.6, 47.5%, 45.9%)
Harmony colors
Accessibility
Black text reads better on this background (4.99:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7c7c86 · ΔE 4.4
Deuteranopia
#7c7d85 · ΔE 5.6
Tritanopia
#7e8382 · ΔE 11.7
Achromatopsia
#7b7b7b · ΔE 9.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e798a;
bg-[#7e798a]
Related colors
Frequently asked questions
#7e798a (#7e798a) is rgb(126, 121, 138) in RGB.
No, #7e798a 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 #7e798a, or check how it holds up for accessibility.