The correct option is B Sodium hydroxide
Red litmus paper turns into blue when dipped in a basic solution.
Among the given options, only sodium hydroxide is a base. Hence, it changes the colour of red litmus to blue.
Rest of the substances are acidic, hence they do not have any effect on red litmus.