You can get rid of gray sludge in your washing machine by mixing water, lemon juice, and baking soda. Spray the drum and the detergent and softener dispenser and wipe with a clean cloth. You can also use white vinegar for more stubborn gray stains.