The present invention provides pyrimidine-4,6-diamine derivatives of Formula (I): wherein the variables are defined herein, that modulate the activity of phosphoinositide 3-kinases (PI3Ks) and are useful in the treatment of diseases related to the activity of PI3Ks including, for example, inflammatory disorders, immune-based disorders, cancer, and other diseases.