The present invention relates to diaryl pyrimidine-2,4-diamines,pharmaceuticalcompositions thereof, and the use of the compounds and compositions for theinhibitionof kinases. The compounds, analogs, and pharmaceutically acceptable saltsthereof, andpharmaceutical compositions can be used in the treatment and prevention ofcancer.(see above formula)