§1. Those marked with the episcopal character and presbyters permitted by law or legitimate grant can perform consecrations and dedications validly.
§2. Any presbyter can impart blessings except those reserved to the Roman Pontiff or bishops.
§3. A deacon can impart only those blessings expressly permitted by law.
Source: Code of Canon Law (Vatican.va)