In this work we construct self-adjoint extensions of the Dirac operator associated to Hermitian matrix potentials with Coulomb decay and prove that the domain is maximal. The result is obtained by means of a Hardy-Dirac type inequality. In particular, we can work with some electromagnetic potentials such that both, the electric potential and the magnetic one, have Coulomb type singularity.