Kevin measured a line to be 12.4 inches long. If the actual length of the line is 15.7 inches, then what was the percent error of the measurement, to the nearest tenth of a percent?