Blaye is a commune and subprefecture in the Gironde department in Nouvelle-Aquitaine in southwestern France.