Blue green algae (Cyanobacteria). It comes in a range of colours including dark blue, dark green, black, brown, red, purple, pink and loves nutrients, red light, slow moving water, and low oxygen levels.
Do a 75% water change and gravel clean the substrate every day for a couple of weeks. Try to physically remove the slimy stuff when you do this.
Make sure any new water is free of chlorine/ chloramine before it's added to the tank.
Clean the filter if it hasn't been done in the last 2 weeks, but don't clean it if is has been running for less than 2 months total. Wash filter media/ materials in a bucket of tank water and re-use the media. tip the bucket of dirty water outside on the lawn or garden.
Increase water movement and aeration, especially around the bottom of the tank.
Make sure the light has a temperature around 6500K (cool white).
You can remove the ornaments and hose them off outside and it can help slow or stop it coming back.
Reduce the amount of dry food going into the aquarium.