X-GAL is a useful chromogenic substrate for β-galactosidase that produces a rich blue color that can easily be detected visually over background. X-GAL is used to indicate whether a cell expresses the ß-glactosidase enzyme, which is encoded by the lacZ gene, in a technique called blue white screening.