A webcam captures a narrow range of brightness
Your eye separates dark colors easily, but a small camera sensor handles only a limited range from shadow to highlight. Under typical indoor light it lumps the deepest tones into one dark mass, so a navy top quietly collapses into black on screen.