In RuneScape, if you want protection against ranged attacks, plate armour or chain armour is the way to go, with plate working best. For magic protection, dragonhide, or d'hide, is a great choice.
D'hide blocks any spell effectively; while it won't make enemies hit zero, it significantly reduces the damage they deal. A good comparison is heading to the elemental wizards at level 3 with green d'hide and low defence, where they can barely scratch you. For melee defence, plain old plate armour does the job perfectly.