The crucifix was created in the second half of the 17th century. On the reverse of the cross there is an inscription which mentions that the figure has been repainted. It was probably then that the perizoma acquired a blue colour, which is unusual on crucifixes.
Maria Działo, "Crucifix", [in:] "The Sacred Lesser Poland Heritage", 2025, source: https://sdm.upjp2.edu.pl/en/works/crucifix-35