Color #787c8d
A nearly neutral, gray-leaning medium blue.
Conversions
#787c8d
rgb(120, 124, 141)
hsl(228.6, 8.4%, 51.2%)
hsv(228.6, 14.9%, 55.3%)
cmyk(14.9%, 12.1%, 0%, 44.7%)
lab(52.21, 2.19, -9.7)
lch(52.21, 9.94, 282.72)
oklch(58.9%, 0.0263, 275.02)
hwb(228.6, 47.1%, 44.7%)
Harmony colors
Accessibility
Black text reads better on this background (5.07:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7a7a89 · ΔE 2
Deuteranopia
#7a7988 · ΔE 2.6
Tritanopia
#788685 · ΔE 11.8
Achromatopsia
#7d7d7d · ΔE 8.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #787c8d;
bg-[#787c8d]
Related colors
Frequently asked questions
#787c8d (#787c8d) is rgb(120, 124, 141) in RGB.
No, #787c8d 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 #787c8d, or check how it holds up for accessibility.