Crystallographic studies of a range of 3-substituted anilinopyrimidine inhibitors of EphB4 have highlighted two alternative C-2 aniline conformations and this discovery has been exploited in the design of a highly potent series of 3,5-disubstituted anilinopyrimidines. The observed range of cellular activities has been rationalised on the basis of physicochemical and structural characteristics.