Denim is made from cotton fibers, which are naturally off-white. This requires the manufacturer to dye finished denim. This dye, especially if it is dark, can rub off on canvas shoes. You might have noticed that your jeans came with a disclaimer that they might cause dye stains on furniture and shoes. Prevent this by washing the jeans on their own several times before wearing them or by not wearing canvas shoes because these can be harder to clean than leather and plastic shoes.
Remove the laces from the shoes. Run them through the washing machine if they have stains from jeans on them.
Brush the shoes with a dry brush to remove loose dirt and debris. This will prevent the dirt from staining the shoes when you get them wet.
Soak a terrycloth in lukewarm water. Apply one drop of mild dish soap to the cloth.
Rub the cloth into the denim stain. Work from the edges of the stain toward the center to ensure you don't spread it. Use as much soap as necessary until the stain is gone or until it is as light as possible.
Rinse the area with clear water until the soap residue is gone. Avoid getting the sole wet because it takes a long time to dry. Don't get the sole wet if it is made of raffia.
Apply a laundry spot remover to the stain if it is still visible. Work until the stain is gone.
Rinse the area with lukewarm water to remove all of the residue.
Stuff the shoes with dry paper towels and put them in a ventilated area to dry.
Put the clean shoelaces back on the shoes.