Color #797d9c
A muted medium blue.
Conversions
#797d9c
rgb(121, 125, 156)
hsl(233.1, 15%, 54.3%)
hsv(233.1, 22.4%, 61.2%)
cmyk(22.4%, 19.9%, 0%, 38.8%)
lab(53.09, 5.5, -17.1)
lch(53.09, 17.96, 287.83)
oklch(59.8%, 0.0474, 279.1)
hwb(233.1, 47.5%, 38.8%)
Harmony colors
Accessibility
Black text reads better on this background (5.23:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7b7b95 · ΔE 2.3
Deuteranopia
#7b7a94 · ΔE 2.7
Tritanopia
#79908e · ΔE 19
Achromatopsia
#7f7f7f · ΔE 13.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #797d9c;
bg-[#797d9c]
Related colors
Frequently asked questions
#797d9c (#797d9c) is rgb(121, 125, 156) in RGB.
No, #797d9c 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 #797d9c, or check how it holds up for accessibility.