Phenoxazine is a heterocyclic compound. The structure of phenoxazine consists of an oxazine fused to two benzene rings. It occurs as the central core of a number of naturally occurring chemical compounds such as dactinomycin and litmus. The dyes Nile blue and Nile red are also based on a phenoxazine core.