← All gradients
35%How it works
Curated

Ocean Depth

#2193B0
#6DD5ED
Text readability
Curated CoolPastel

Ocean Depth is a cool and pastel 2-colour linear gradient that runs from teal (#2193B0) to light teal (#6DD5ED) at 135°. It suits dashboards and SaaS landing pages and soft backgrounds, cards and onboarding screens. Black text reads best on it, at a contrast ratio of 8.7:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #2193B0, #6DD5ED);
Tailwind
bg-gradient-to-br from-[#2193B0] to-[#6DD5ED]
Figma token
{
    "ocean-depth": {
        "value": "linear-gradient(135deg, #2193B0 0%, #6DD5ED 100%)",
        "type": "color"
    }
}

Ocean Depth gradient for SwiftUI, Flutter, Android and more

The same gradient, same direction, ready for your app or design system.

let oceanDepthGradient = LinearGradient(
    colors: [
        Color(red: 0.129, green: 0.576, blue: 0.69),
        Color(red: 0.427, green: 0.835, blue: 0.929)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(oceanDepthGradient)

Colours in the Ocean Depth gradient

StopNameHEXRGBHSL
1Teal#2193B0rgb(33, 147, 176)hsl(192, 68%, 41%)
2Light teal#6DD5EDrgb(109, 213, 237)hsl(191, 78%, 68%)

Ocean Depth gradient in use

Build something beautifulA hero section on the Ocean Depth gradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Ocean Depth gradient variations

Reversed
Horizontal
Radial
Conic
Softer
Deeper
Smooth (OKLCH)
Hard stops

Download as an image

Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.

Frequently asked questions

What are the hex codes for the Ocean Depth gradient?

The Ocean Depth gradient uses 2 colours: #2193B0 and #6DD5ED, at an angle of 135°.

How do I use the Ocean Depth gradient in CSS?

Paste background: linear-gradient(135deg, #2193B0, #6DD5ED); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Ocean Depth gradient?

Black text has the best contrast, at 8.7:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.