In order to convert degrees Celsius to Kelvins you have to add 273.15 to degrees Celsius.
So with 31 °C we have: 31 + 273.15 = 304.15 K