Hitherto unknown 5,8-substituted-pyrimido[4,5,6-ij]pyrrolo[2,1,5-de]quinolizines (5,7-diazaullazines) were prepared by a three-step synthesis via Clauson-Kaas, Sonogashira, and cycloisomerization reactions with diverse functionalization. The properties, including cyclovoltammetry and UV-vis and fluorescence spectroscopy, as well as solvatochromism, were studied for selected derivatives and supported by density functional theory calculations. Results were compared in detail with previously reported 5- and 6-azaullazines, and the impact of introduced nitrogen atoms was analyzed.