The official written language was Akkadian, a Semitic language
derived from Amorite. Sumerian, which is completely unrelated
linguistically, was used for liturgical purposes.
It's not entirely clear what language was spoken as an everyday
tongue in the Babylonian Empire, although a Babylonian dialect of
Akkadian and a pidgin of several regional languages are the most
likely contenders.