Cobalt Ocean

Customize and copy the CSS

Code

background: #1D4ED8;
background: linear-gradient(135deg, #1D4ED8 0%, #0891B2 100%);

Color stops

Color stops
StopPositionHEXRGBHSLOKLCH
Stop 10%
Stop 2100%

Save image

Image size

About Cobalt Ocean

Starting from #1D4ED8 and finishing on #0891B2, Cobalt Ocean is a cool blue gradient. By default it flows top-left to bottom-right at 135°, and its midpoint blends to #0077B8.

The first color is deep (49% lightness) and the second one is mid-tone (61%), with an average look that is vivid. The hue travels about 43° around the color wheel, a gentle shift that stays easy on the eye.

It suits tech products, onboarding screens and navigation bars. White text keeps at least 3.6:1 contrast across every stop, enough for large headings (WCAG AA large text) but not for small body copy.

The two ends are close enough that sRGB and OKLCH interpolation look nearly the same. Change the angle or switch to a radial or conic shape to see how it behaves in other layouts.

Cobalt Ocean gradient: #1D4ED8, #0891B2

Blue color palettes

See all