When something happens out of the blue, it happens suddenly without any warning. It’s a surprise. It could be positive or negative.
My friend from my university days called me out of the blue. I hadn’t heard from her in 10 years.
My car broke-down out of the blue in the afternoon. It had been working well all morning.