The present invention provides 2,4-disubstituted pyrimidine compounds useful as kinase inhibitors, pharmaceutically acceptable compositions thereof, and methods of using the same.