Usually, a blue shade is because of food shade or food dye.
5. But ...https://en.wikipedia.org/wiki/Blue_diaper_syndrome#/media/File:Autorecessive.svg
In rare instances, it can be a sign of familial hypercalcemia, additionally called blue baby diaper syndrome, an unusual congenital disease.
While severe dehydration is one of the most obvious factor in almost all cases; dark brownish shade in the pee is an indicator that something isn't best with your liver. Cancer malignancy clients must be a bit watchful.