Black and Blue Gradient
CSS GradientThe black and blue gradient is crafted with 5 colors (#000000, #0A0E2A, #10245C, #1A4B9E, #2E7FD9). Ready-to-use linear, radial, and conic CSS rules for modern web and mobile apps.

|
#000000
#0A0E2A
#10245C
#1A4B9E
#2E7FD9
1. Gradient Color Stops
| Swatch | HEX | RGB | HSL | CMYK | OKLCH |
|---|---|---|---|---|---|
#000000 | 0, 0, 0 | 0°, 0%, 0% | 0%, 0%, 0%, 100% | oklch(0.000 0.000 0) | |
#0A0E2A | 10, 14, 42 | 233°, 62%, 10% | 76%, 67%, 0%, 84% | oklch(0.180 0.057 273) | |
#10245C | 16, 36, 92 | 224°, 70%, 21% | 83%, 61%, 0%, 64% | oklch(0.283 0.104 265) | |
#1A4B9E | 26, 75, 158 | 218°, 72%, 36% | 84%, 53%, 0%, 38% | oklch(0.431 0.145 260) | |
#2E7FD9 | 46, 127, 217 | 212°, 69%, 52% | 79%, 41%, 0%, 15% | oklch(0.594 0.158 254) |
2. Gradient Variations & Styles
Linear Gradient
Radial Gradient
Conic Gradient
3. CSS Code & Declarations
Linear Gradient
background: linear-gradient(to right, #000000, #0A0E2A, #10245C, #1A4B9E, #2E7FD9);
Radial Gradient
background: radial-gradient(circle, #000000, #0A0E2A, #10245C, #1A4B9E, #2E7FD9);
Conic Gradient
background: conic-gradient(from 180deg at 50% 50%, #000000, #0A0E2A, #10245C, #1A4B9E, #2E7FD9);
Tailwind CSS
bg-gradient-to-r from-[#000000] to-[#2E7FD9]
SCSS Variable
$gradient-black-and-blue-gradient: linear-gradient(to right, #000000, #0A0E2A, #10245C, #1A4B9E, #2E7FD9);
4. Stop Accessibility & Contrast
#000000Stop 1
On White:21.00:1
On Black:1.00:1
WCAG Pass
#0A0E2AStop 2
On White:18.93:1
On Black:1.11:1
WCAG Pass
#10245CStop 3
On White:14.70:1
On Black:1.43:1
WCAG Pass
#1A4B9EStop 4
On White:8.25:1
On Black:2.54:1
WCAG Pass
#2E7FD9Stop 5
On White:4.07:1
On Black:5.15:1
WCAG Pass
5. UI Preview with Gradient
Card Header
Black and Blue Gradient Banner
Stunning backgrounds for hero sections, marketing callouts, and modern card containers.
Modern Dark Mode
Gradient Glow
Use vibrant gradients as high-conversion button fills, text-gradients, or active focus rings.
Text Gradient
Similar Gradients
Gradient Ideas
About Black and Blue Gradient
Gradient Name
Black and Blue Gradient
Color Stops
5 Colors
First Color
#000000
End Color
#2E7FD9
Color Swatches