31c in the BIOS is totally fine, the BIOS will usually give higher temps than when you are idle in windows as it runs the CPU at it's full speed, whereas windows (depending on your settings) will downclock it when it's not doing much. Check your load temps and if they're good, then it's fine, you want to avoid being above 75-80c under full load.