当然 :とうぜん： more formal.
They both mean right/ natural ; "I've come for what is mine!" "If he built the house, he should be paid for it - it's only right." "Men are stronger than women so only men should be allowed in the army - it's only natural."
Which has the nuance of natural?