Swapping Red and Blue on RGB565 setup

This week I had a similar problem with my board based on ESP32 and a SPI TFT.
I dont know if your problem can be the same, but take a look at this