I did a lot of research on this when I swapped a 650 into my CB500. Played with gearing calculators, tire size dimensions, gear ratios in the transmission, etc.
I ended up with a 17/40 combo and it worked very well. Plenty of punch and normal revs on the interstate.