I think it is a dye, bromocresol, that turns blue when it is exhausted.
Regards
Hans