Is Contigo informal or formal?

Is Contigo informal or formal? Old Spanish Compare contigo (“with you (informal)”), conmigo (“with me”), consigo (“with himself/herself/itself/you (formal)”).

Old Spanish

Compare contigo (“with you (informal)”), conmigo (“with me”), consigo (“with himself/herself/itself/you (formal)”).