Dear student, the ocean water is exposed to light of sun. The sun light consist of all the seven colors of rainbow. When the light falls on the ocean, ocean absorbs all the light of the sun except blue and hence we see the color of the ocean as blue. ......Regards