Color #787987
A nearly neutral, gray-leaning medium blue.
Conversions
#787987
rgb(120, 121, 135)
hsl(236, 5.9%, 50%)
hsv(236, 11.1%, 52.9%)
cmyk(11.1%, 10.4%, 0%, 47.1%)
lab(51.17, 2.59, -7.73)
lch(51.17, 8.15, 288.52)
oklch(58%, 0.0213, 282.47)
hwb(236, 47.1%, 47.1%)
Harmony colors
Accessibility
Black text reads better on this background (4.88:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#787884 · ΔE 1
Deuteranopia
#787883 · ΔE 1.4
Tritanopia
#788181 · ΔE 9.7
Achromatopsia
#7a7a7a · ΔE 7.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #787987;
bg-[#787987]
Related colors
Frequently asked questions
#787987 (#787987) is rgb(120, 121, 135) in RGB.
No, #787987 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 #787987, or check how it holds up for accessibility.