Traditionally used when addressing a king, queen, or high official; now used only in historical dramas and religious text such as the Bible, the Koran, Buddhist scriptures, etc.
This conversational style is generally called either the "formal" or the "formal polite."