bending object

i need to bend blue object on sides to mach black pillar

Hi guys, how can i achieve bending of both sides of blue object so they match black pillar please?