Color #797c9c
A muted medium blue.
Conversions
#797c9c
rgb(121, 124, 156)
hsl(234.9, 15%, 54.3%)
hsv(234.9, 22.4%, 61.2%)
cmyk(22.4%, 20.5%, 0%, 38.8%)
lab(52.82, 6.08, -17.52)
lch(52.82, 18.54, 289.14)
oklch(59.6%, 0.0488, 280.62)
hwb(234.9, 47.5%, 38.8%)
Harmony colors
Accessibility
Black text reads better on this background (5.18:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7a7a95 · ΔE 2.1
Deuteranopia
#7a7a93 · ΔE 2.7
Tritanopia
#798f8e · ΔE 18.9
Achromatopsia
#7e7e7e · ΔE 13.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #797c9c;
bg-[#797c9c]
Related colors
Frequently asked questions
#797c9c (#797c9c) is rgb(121, 124, 156) in RGB.
No, #797c9c 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 #797c9c, or check how it holds up for accessibility.