Color #787f8d
A nearly neutral, gray-leaning medium blue.
Conversions
#787f8d
rgb(120, 127, 141)
hsl(220, 8.4%, 51.2%)
hsv(220, 14.9%, 55.3%)
cmyk(14.9%, 9.9%, 0%, 44.7%)
lab(53.05, 0.45, -8.44)
lch(53.05, 8.45, 273.05)
oklch(59.5%, 0.0229, 264.49)
hwb(220, 47.1%, 44.7%)
Harmony colors
Accessibility
Black text reads better on this background (5.22:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7b7b8a · ΔE 3.9
Deuteranopia
#7b7a89 · ΔE 4.5
Tritanopia
#788787 · ΔE 9.4
Achromatopsia
#7f7f7f · ΔE 7.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #787f8d;
bg-[#787f8d]
Related colors
Frequently asked questions
#787f8d (#787f8d) is rgb(120, 127, 141) in RGB.
No, #787f8d 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 #787f8d, or check how it holds up for accessibility.