The invention provides a series of chlorobenzene substituted azaaryl compounds having activity in inhibiting cancer cell growth and low toxicity to normal cells. Particularly the compounds of the invention have stronger inhibition effect on bladder cancer and liver cancer.