IC50 and cell viability are not equals. However, the first could be determined from the results obtained on the later, although i'll use EC50 instead of IC50 for this context in particular.
MTT assay should work fine. Just be sure to measure viability and not cytotoxicity when using this method. Since it is broadly advertised as a "cytotoxicity assay" while it in fact is more of a viability assay, since it measures metabolic activity.
Alamar blue also works if you can´t get MTT and it is even easier to use.
If you want "the best" method to measure cell viability and then determine EC50, flow cytometry is the way to go. However, it will be expensive and more laborious.