Applying spherical trigonometry, it follows that the conversion from equatorial coordinates $\alpha$ and $\delta$ to galactic coordinates $l$ and $b$ is:
$$\left.
\begin{aligned}
\sin b &=\sin \delta_{NGP} \sin \delta + \cos \delta_{NGP} \cos \delta \cos ( \alpha - \alpha_{NGP}) \\
\sin ( l_{NCP}-l) &=\dfrac{\cos \delta \sin ( \alpha - \alpha_{NGP})}{\cos b} \\
\cos ( l_{NCP}-l) &=\dfrac{\cos \delta_{NGP}\sin \delta - \sin \delta_{NGP} \cos \delta \cos ( \alpha - \alpha_{NGP})}{\cos b}
\end{aligned}
\right \}$$
The equatorial coordinates (J2000) of the North Galactic Pole are:
$\alpha_{NGP}=12^h 51^m 26.282^s=192.8595º=3.36603 \ rad$
$\delta_{NGP}=+27º 07’ 42.01’’=27.1283º=0.473479 \ rad$
And the galactic longitude of the North Celestial Pole is:
$l_{NCP}=122.932º=2.14557 \ rad$
Reference:
Galactic coordinate system. (Scientific Library)
Additional bibliography:
Reconsidering the Galactic coordinate system
Transformation of the equatorial proper motion to the Galactic system
Best regards.