Just an illustration:
The darker the background is the lighter the rectangle appears to be while both are solid #444444.