Coffee grounds add extra acidity to the soil around hydrangeas. On a chemical level, this increased acidity makes it easier for the plant to absorb naturally occurring aluminum in the dirt. The effect is pretty blue clusters of flowers.