ironically

/aɪˈrɑnɪkli/
adverb
  1. In a way that shows the opposite of what you expect, often in a humorous or strange way.
    • The weather forecast promised sunshine, but ironically, it rained all day.
    • She spent years avoiding social media, and ironically, she now works as a social media manager.
    • Ironically, the fire station burned down while the firefighters were out on a call.
  2. Used to express that something is the opposite of what would naturally be expected or intended.
    • Ironically, the more he tried to save money, the more he ended up spending.
    • The company's slogan is 'We put customers first,' but ironically, their customer service is terrible.
    • He became famous for writing a book about avoiding fame.