The properties of water absorb light of high wavelengths, such as red, while shorter wavelengths, such as blue and purple, are harder to absorb and reflect off of the sea.
Red light is increasingly absorbed deeper under water, making it difficult for red objects to be seen. Light reflected from the ocean contains a lot of the blue color that remains unabsorbed which results in the blue appearance of the ocean.