The presence of Ti3+ cations can give a blueish or black color to the material. Or you just have organic content inside your sample. You must check that with TG analysis.
The black color can result from the presence of residual organic matter on the nanoparticles of TiO2. To eliminate the excess of organic precursor it is necessary to make a repeated washing with deionized water and then with anhydrous alcohol.