Ocean Blue: HEX & RGB Color Code for Water

Donna Jul 28, 2026

The mesmerizing blue hue of ocean water has long captivated humans, inspiring artists, scientists, and dreamers alike. But have you ever wondered about the color code that represents this vast, ever-changing body of water? Let's dive into the world of color codes and explore the fascinating science behind the blue of our oceans.

an image of the ocean with many different colors and sizes on it, including blue
an image of the ocean with many different colors and sizes on it, including blue

To understand the blue color code of ocean water, we must first delve into the physics of light and the unique properties of water. Light, as we know, is a spectrum of colors, and when it interacts with water, something remarkable happens.

50 Shades of Water: Color Names, Hex, RGB, CMYK Codes
50 Shades of Water: Color Names, Hex, RGB, CMYK Codes

Light and Water Interaction

The ocean's blue color is primarily a result of a phenomenon called Rayleigh scattering. This occurs when light passes through a medium, like water, and is scattered in different directions. Shorter wavelengths of light, such as blue and violet, are scattered more than other colors like red, yellow, or green.

blue color palette 🌀🔹🫐💙
blue color palette 🌀🔹🫐💙

This is why we see the sky as blue; the blue light from the sun is scattered more by Earth's atmosphere, reaching our eyes and making the sky appear blue. Similarly, when light penetrates the ocean, the blue light is scattered more, giving the water its characteristic blue color.

Absorption and Reflection

Blue Canva Color Palette Chart 💙 | Trending Blue Hex Codes for Designers
Blue Canva Color Palette Chart 💙 | Trending Blue Hex Codes for Designers

While Rayleigh scattering is the primary cause of the ocean's blue color, absorption and reflection also play significant roles. Water absorbs red, orange, and yellow light more than blue, which is why these colors are not prominent in the ocean's appearance.

Moreover, the ocean's surface reflects the sky's color, further enhancing the blue hue. On a clear day, the ocean reflects the blue sky, making it appear even bluer. Conversely, on an overcast day, the ocean may appear a darker shade of blue due to less reflection from the sky.

Factors Affecting Ocean Blue Color

the water is very blue and there are many different shades to choose from in this photo
the water is very blue and there are many different shades to choose from in this photo

The ocean's blue color can vary depending on several factors. Turbidity, the cloudiness or clarity of the water, significantly impacts the blue hue. Suspended particles, such as sediment, algae, or plankton, can scatter light differently, altering the water's color.

Water depth also plays a role. In shallow waters, the blue color may appear more vibrant due to the reflection of the sky. In deep waters, the blue hue can become more muted or even appear black, as less light penetrates and reflects off the surface.

Ocean Blue Color Code in Digital Context

an image of the ocean with different colors
an image of the ocean with different colors

Now that we understand the science behind the ocean's blue color, let's explore how this is represented in the digital world, specifically in color codes. In the RGB color model, which is commonly used in digital platforms, the ocean's blue can be represented by various combinations of red, green, and blue values.

However, one of the most common color codes for ocean blue is #007BA7. This hexadecimal code represents a shade of blue that closely resembles the color of the ocean on a clear, sunny day. The values '00' represent no red, '7B' represents a moderate amount of green, and 'A7' represents a high amount of blue.

Ocean-Inspired Color Palette Ideas | Coastal Aesthetic Color Scheme
Ocean-Inspired Color Palette Ideas | Coastal Aesthetic Color Scheme
Blue Oasis
Blue Oasis
Color Palette 003
Color Palette 003
#colorpalette
#colorpalette
four different shades of water with the words ocean haze and driftwood teal above them
four different shades of water with the words ocean haze and driftwood teal above them
color pallete
color pallete
blue starfish color palette
blue starfish color palette
the ocean is very blue and green
the ocean is very blue and green
Pastel Planner Color Palette – Free Printable for Creative Organization
Pastel Planner Color Palette – Free Printable for Creative Organization
Blue Ocean Color Palette | Color Scheme Generator
Blue Ocean Color Palette | Color Scheme Generator
the color scheme is blue and white, with different shades of water in it's bottom half
the color scheme is blue and white, with different shades of water in it's bottom half
Цвет морской волны
Цвет морской волны
Color Palette #52 — Ocean Breeze & Coastal Blues
Color Palette #52 — Ocean Breeze & Coastal Blues
30 shades of ocean
30 shades of ocean
Blue Water Color Palette
Blue Water Color Palette
the color palette is blue and it looks like water
the color palette is blue and it looks like water
the ocean is blue and has white waves
the ocean is blue and has white waves
4 shades of blue
4 shades of blue
Deep Sea Teal & Arctic Ocean Blue Glacier Mineral Palette
Deep Sea Teal & Arctic Ocean Blue Glacier Mineral Palette
Coastal Blue Color Palette with HEX Codes for Elegant Design Inspiration
Coastal Blue Color Palette with HEX Codes for Elegant Design Inspiration

Other Ocean Blue Color Codes

While #007BA7 is a popular choice, other color codes can also represent the ocean's blue. For instance, #009ACD is a darker shade of blue that might represent the ocean on an overcast day or in deeper waters. Conversely, #40E0D0 is a lighter shade of blue that could represent shallow, clear waters near the shore.

These color codes are not set in stone and can vary depending on the desired effect or the specific context in which they are used. However, they all aim to capture the essence of the ocean's blue color, a color that is as complex and varied as the ocean itself.

In the vast, ever-changing canvas of the ocean, the blue color is a constant reminder of the beauty and complexity of our natural world. From the science behind its color to its representation in the digital world, the ocean's blue continues to inspire and captivate us. So, the next time you look out at the ocean, remember the intricate dance of light and water that gives it its mesmerizing blue hue, and perhaps consider the color code that represents it in the digital realm.