The present invention relates to a deuterated phenyl amino pyrimidine compound and pharmaceutical composition containing the same. Specifically provided are a deuterated phenyl amino pyrimidine compound as represented by formula (I), and pharmaceutical composition containing the compound, or polymorph, pharmaceutically acceptable salt, hydrate or solvate thereof. The compound of the present invention can treat and/or prevent JAK kinase-related diseases, such as bone marrow proliferative disease, cancer, immunologic diseases and the like.