Cardinal Blue

Customize and copy the CSS

Code

background: #DC143C;
background: linear-gradient(135deg, #DC143C 0%, #007FFF 100%);

Color stops

Color stops
StopPositionHEXRGBHSLOKLCH
Stop 10%
Stop 2100%

Save image

Image size

About Cardinal Blue

Cardinal Blue is a balanced multi-color gradient that runs from #DC143C to #007FFF. By default it flows top-left to bottom-right at 135°, and its midpoint blends to #B144CF.

Both colors are mid-tone (57% and 61% lightness), with an average look that is highly saturated. The hue swings roughly 124° across the color wheel, which gives the gradient a wide, multi-tone sweep.

It suits sale banners, alerts and bold call-to-action buttons. Black text keeps at least 4.2:1 contrast across every stop, enough for large headings (WCAG AA large text) but not for small body copy.

With a hue change this wide, the default sRGB blend can dull the middle of the gradient. OKLCH interpolation keeps lightness and saturation steady, so try it above and copy the version with "in oklch".

Cardinal Blue gradient: #DC143C, #007FFF

Red color palettes

See all