In the title compound, C19H14N4, which was crystallized from dimethyl sulfoxide, the arene and heterocyclic rings of the lophine analogue framework differ only slightly from coplanarity (dihedral angles range from 8.8 to 20.2°), and intramolecular N—H⋯N and C—H⋯N interactions help to establish the conformation. The crystal packing features a number of weak C—H⋯N, N—H⋯N hydrogen-bond type contacts, and C—H⋯π interactions, leading to the formation of a herringbone structure.