In right triangle $ABC,$ $\angle C = 90^\circ.$ Median $\overline{AM}$ has a length of $19,$ and median $\overline{BN}$ has a length of $13.
By Pythagoras, the hypotenuse is sqrt(319)/2.