The present invention provides novel substituted pyrimidinyl-amines that are useful as inhibitors of protein kinases, especially c-Jun N-terminal kinases (JNK) and pharmaceutical compositions thereof and methods of using the same for treating conditions responsive to the inhibition of the JNK pathway.