The blue color of the sea is primarily due to the selective absorption and scattering of light by water molecules. Water absorbs red and orange wavelengths more strongly, leaving blue and green light to be reflected and scattered back to the observer.