Actually there is nuances among 明白, 明了and 懂, they are interchangeable for most of time. 1. 我明白/懂(你的苦衷), meaning feel sympathetic about someone's story. 2.我明了/懂了/明白了,usually used when you suddenly have it all figured out. 3.我清楚/知道整件事发生的经过. meaning I am clear about/know the whole thing.