Nope, the 255/40 is only 25" high and the 315 is near 25.7. I was just in this situation myself and had to go with 245-45-17 to match my 315-35-17. Look on nitto's site at their tire sizes, it shows the different sizes and their overall diameter. It will help steer you in the right direction.