The red line is the indicator for your attack range. You can switch it on and off by clicking on the "Attack Range" option of your castle. The blue line is the indicator for the buff range of Foritifications. You can switch it on and off by clicking on the "Buff Range" option of that Fortification.