Difference between نعم and بلى?

In the Quran they’re both translated as “Yes” but is there a difference in usage? Is this still retained when spoken?