Custom Technical display setup - visible and hidden lines colours are set to object colours. Hidden lines are switching from objects colours to red and blue when zooming out. Same issue is visible in the exported raster files/pdfs.
eg sockets are black, If hidden, color turns to red
and changed to red - blue when zooming out
zoomed pdf looks like this:
and modified technical drawing settings: