Cobalt Royal

Customize and copy the CSS

Code

background: #4169E1;
background: linear-gradient(135deg, #4169E1 0%, #0000CD 100%);

Color stops

Color stops
StopPositionHEXRGBHSLOKLCH
Stop 10%
Stop 2100%

Save image

Image size

About Cobalt Royal

Starting from #4169E1 and finishing on #0000CD, Cobalt Royal is a cool blue gradient. By default it flows top-left to bottom-right at 135°, and its midpoint blends to #1B45D8.

The first color is mid-tone (56% lightness) and the second one is deep (38%), with an average look that is highly saturated. The colors stay within a 2° slice of the color wheel, so the blend reads as one hue changing in lightness rather than a shift between colors.

It suits SaaS landing pages, dashboards and trustworthy brand headers. White text keeps at least 4.8:1 contrast across every stop, which passes WCAG AA for body text.

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 Royal gradient: #4169E1, #0000CD

Blue color palettes

See all