The preparation ancl properties of 3-keto-1,2,5,6-tetrahydro-3(II)-imida~o(l,2-a)imiclazole, .'l-keto-l,2,6,7-tetral1ydro-3(H),5(H)-imiclazo(l,2-a)pyrimidi11e, and -l-keto-2,:3,6,'7,8,9-hesahydro-4(H)-pyrinlicIo(1,2-a)pyrimidine are described. The first two bicyclic systems possess active methylene groups in position 2 and they are oxidized to indigo-type dyes.