Color #787981
A nearly neutral, gray-leaning medium blue.
Conversions
#787981
rgb(120, 121, 129)
hsl(233.3, 3.6%, 48.8%)
hsv(233.3, 7%, 50.6%)
cmyk(7%, 6.2%, 0%, 49.4%)
lab(50.98, 1.29, -4.49)
lch(50.98, 4.67, 286.03)
oklch(57.8%, 0.0122, 280.39)
hwb(233.3, 47.1%, 49.4%)
Harmony colors
Accessibility
Black text reads better on this background (4.85:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#78787f · ΔE 0.7
Deuteranopia
#78787f · ΔE 0.7
Tritanopia
#787e7d · ΔE 6.5
Achromatopsia
#797979 · ΔE 4.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #787981;
bg-[#787981]
Related colors
Frequently asked questions
#787981 (#787981) is rgb(120, 121, 129) in RGB.
No, #787981 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 #787981, or check how it holds up for accessibility.