A compound of the formula: wherein X is NHR 1, Y is N or CH, R 1 is selected from C 1 -C 6 alkyl, C 1 -C 6 alkoxy, hydroxyl, C 3 -C 8 cycloalkyl, C 6 -C 14 aryl C 3 -C 8 cycloalkyl, C 3 -C 8 cycloalkyl C 1 -C 6 alkyl, C 3 -C 8 dicycloalkyl C 1 -C 6 alkyl, C 7 -C 12 bicycloalkyl, C 7 -C 12 bicycloalkyl C 1 -C 6 alkyl, C 7 -C 14 tricycloalkyl C 1 -C 6 alkyl, C 6 -C 14 aryl, C 6 -C 14 aryl C 1 -C 6 alkyl, C 6 -C 14 diaryl C 1 -C 6 alkyl, C 6 -C 14 aryl C 1 -C 6 alkoxy, heterocyclyl C 1 -C 6 alkyl, heterocyclyl, 4-[[[4-[[[(2-amino C 1 -C 6 alkyl) amino]-carbonyl]- C 1 -C 6 alkyl] anilino] carbonyl] C 1 -C 6 alkyl] C 6 -C 14 aryl, and C 6 -C 14 aryl C 3 -C 8 cycloalkyl, wherein the aryl or heterocyclyl portion of R 1 is optionally substituted with one or more substituents selected from halo, amino, hydroxyl, carboxy, alkoxycarbonyl, aminocarbonyl, alkylaminocarbonyl, dialkylaminocarbonyl, C 1 -C 6 alkyl, C 2 -C 6 alkenyl, C 2 -C 6 alkynyl, C 1 -C 6 alkoxy, C 6 -C 14 aryloxy, hydroxy C 1 -C 6 alkyl, hydroxy C 2 -C 6 alkenyl, hydroxy C 2 -C 6 alkynyl, carboxy C 1 -C 6 alkyl, carboxy C 2 -C 6 alkenyl, carboxy C 2 -C 6 alkynyl, aminocarbonyl C 1 -C 6 alkyl, aminocarbonyl C 2 -C 6 alkenyl, aminocarbonyl C 2 -C 6 alkynyl, and any combination thereof; and the alkyl or cycloalkyl portion of R 1 is optionally substituted with one or more substituents selected from halo, amino, alkyl, alkoxy, aryloxy, hydroxyalkyl, hydroxyalkenyl, hydroxyalkynyl, aminocarbonylalkoxy, and arylalkoxy, and any combination thereof, R 2 is heteroaryl selected from furanyl, thiopheneyl, pyrrolyl, pyrazolyl, imidazolyl, 1,2,3-triazolyl, 1,2,4-triazolyl, isoxazolyl, oxazolyl, isothiazolyl, 1,3,4-oxadiazol-2-yl, 1,2,4-oxadiazol-2-yl, 5-methyl-1,3,4-oxadiazole, 3-methyl-1,2,4-oxadiazole, pyrimidinyl, pyrazinyl, pyridazinyl, triazinyl, benzofuranyl, benzothiopheneyl, indolyl, quinolinyl, isoquinolinyl, benzimidazolyl, benzoxazolinyl, benzothiazolinyl, and quinazolinyl, wherein the heteroaryl group is optionally substituted with one or more substituents selected from halo, trifluoromethyl, amino, alkyl, hydroxyalkyl, benzo, alkoxy, hydroxyl, carboxyl, carboxyalkyl, sulfonyloxyalkyl, alkylcarbonyl, arylcarbonyl, and any combination thereof, R 3 and R 4 are independently selected from hydrogen, hydroxyl, amino, mercapto, ureido, C 1 -C 6 alkyl carbonylamino, hydroxy C 1 -C 6 alkyl, and hydrazinyl; R 5 is selected from C 1 -C 3 alkyl aminocarbonyl or di(C 1 -C 3 alkyl) aminocarbonyl; and R 6 is selected from hydrogen, C 1 -C 6 alkyl, C 2 -C 6 alkenyl, C 2 -C 6 alkynyl, heteroaryl, and C 1 -C 6 aminoalkyl; or a pharmaceutically acceptable salt thereof. wherein X is NHR 1, Y is N or CH, R 1 is selected from C 1 -C 6 alkyl, C 1 -C 6 alkoxy, hydroxyl, C 3 -C 8 cycloalkyl, C 6 -C 14 aryl C 3 -C 8 cycloalkyl, C 3 -C 8 cycloalkyl C 1 -C 6 alkyl, C 3 -C 8 dicycloalkyl C 1 -C 6 alkyl, C 7 -C 12 bicycloalkyl, C 7 -C 12 bicycloalkyl C 1 -C 6 alkyl, C 7 -C 14 tricycloalkyl C 1 -C 6 alkyl, C 6 -C 14 aryl, C 6 -C 14 aryl C 1 -C 6 alkyl, C 6 -C 14 diaryl C 1 -C 6 alkyl, C 6 -C 14 aryl C 1 -C 6 alkoxy, heterocyclyl C 1 -C 6 alkyl, heterocyclyl, 4-[[[4-[[[(2-amino C 1 -C 6 alkyl) amino]-carbonyl]- C 1 -C 6 alkyl] anilino] carbonyl] C 1 -C 6 alkyl] C 6 -C 14 aryl, and C 6 -C 14 aryl C 3 -C 8 cycloalkyl, wherein the aryl or heterocyclyl portion of R 1 is optionally substituted with one or more substituents selected from halo, amino, hydroxyl, carboxy, alkoxycarbonyl, aminocarbonyl, alkylaminocarbonyl, dialkylaminocarbonyl, C 1 -C 6 alkyl, C 2 -C 6 alkenyl, C 2 -C 6 alkynyl, C 1 -C 6 alkoxy, C 6 -C 14 aryloxy, hydroxy C 1 -C 6 alkyl, hydroxy C 2 -C 6 alkenyl, hydroxy C 2 -C 6 alkynyl, carboxy C 1 -C 6 alkyl, carboxy C 2 -C 6 alkenyl, carboxy C 2 -C 6 alkynyl, aminocarbonyl C 1 -C 6 alkyl, aminocarbonyl C 2 -C 6 alkenyl, aminocarbonyl C 2 -C 6 alkynyl, and any combination thereof; and the alkyl or cycloalkyl portion of R 1 is optionally substituted with one or more substituents selected from halo, amino, alkyl, alkoxy, aryloxy, hydroxyalkyl, hydroxyalkenyl, hydroxyalkynyl, aminocarbonylalkoxy, and arylalkoxy, and any combination thereof, R 2 is heteroaryl selected from furanyl, thiopheneyl, pyrrolyl, pyrazolyl, imidazolyl, 1,2,3-triazolyl, 1,2,4-triazolyl, isoxazolyl, oxazolyl, isothiazolyl, 1,3,4-oxadiazol-2-yl, 1,2,4-oxadiazol-2-yl, 5-methyl-1,3,4-oxadiazole, 3-methyl-1,2,4-oxadiazole, pyrimidinyl, pyrazinyl, pyridazinyl, triazinyl, benzofuranyl, benzothiopheneyl, indolyl, quinolinyl, isoquinolinyl, benzimidazolyl, benzoxazolinyl, benzothiazolinyl, and quinazolinyl, wherein the heteroaryl group is optionally substituted with one or more substituents selected from halo, trifluoromethyl, amino, alkyl, hydroxyalkyl, benzo, alkoxy, hydroxyl, carboxyl, carboxyalkyl, sulfonyloxyalkyl, alkylcarbonyl, arylcarbonyl, and any combination thereof, R 3 and R 4 are independently selected from hydrogen, hydroxyl, amino, mercapto, ureido, C 1 -C 6 alkyl carbonylamino, hydroxy C 1 -C 6 alkyl, and hydrazinyl; R 5 is selected from C 1 -C 3 alkyl aminocarbonyl or di(C 1 -C 3 alkyl) aminocarbonyl; and R 6 is selected from hydrogen, C 1 -C 6 alkyl, C 2 -C 6 alkenyl, C 2 -C 6 alkynyl, heteroaryl, and C 1 -C 6 aminoalkyl;