The present invention relates to phenyl amino pyrimidine compounds which are inhibitors of protein kinases including JAK kinases. In particular the compounds are selective for JAK2 kinases. The kinase inhibitors can be used in the treatment of kinase associated diseases such as immunological and inflammatory diseases including organ transplants; hyperproliferative diseases including cancer and myeloproliferative diseases; viral diseases; metabolic diseases; and vascular diseases.