Oxides of metals like magnesium are basic in nature. Therefore, the aqueous solution will change the red litmus to blue.