Cobalt Rush
3-color CSS gradient
Cobalt Rush is a 3-color CSS linear gradient built from #1E3C72, #2A5298, and #4FACFE. Its hues sit in the blue range, and reads as cool. White text on it keeps at least 2.42:1 at its weakest point — below every WCAG text threshold.
UI Preview
See how this gradient looks in a real interface
Welcome Back
Your creative workspace awaits
ContinueShade scales
Each color as a 50–950 ramp, like Tailwind's built-in palettes — ready for a design system. The ringed step is closest to the original color.
#1E3C72
#2A5298
#4FACFE
@theme {
--color-cobalt-rush-1-50: #F3F8FF;
--color-cobalt-rush-1-100: #E3EDFD;
--color-cobalt-rush-1-200: #CADCF9;
--color-cobalt-rush-1-300: #AAC4F1;
--color-cobalt-rush-1-400: #85A5DD;
--color-cobalt-rush-1-500: #688BC7;
--color-cobalt-rush-1-600: #5273AC;
--color-cobalt-rush-1-700: #3F5C8E;
--color-cobalt-rush-1-800: #314972;
--color-cobalt-rush-1-900: #26395A;
--color-cobalt-rush-1-950: #16243C;
}
@theme {
--color-cobalt-rush-2-50: #F3F8FF;
--color-cobalt-rush-2-100: #E2EDFF;
--color-cobalt-rush-2-200: #C7DCFF;
--color-cobalt-rush-2-300: #A3C4FC;
--color-cobalt-rush-2-400: #7CA5EA;
--color-cobalt-rush-2-500: #5E8AD5;
--color-cobalt-rush-2-600: #4972B8;
--color-cobalt-rush-2-700: #375B99;
--color-cobalt-rush-2-800: #2A487B;
--color-cobalt-rush-2-900: #203862;
--color-cobalt-rush-2-950: #122341;
}
@theme {
--color-cobalt-rush-3-50: #F2F8FF;
--color-cobalt-rush-3-100: #DEEEFF;
--color-cobalt-rush-3-200: #BEDFFF;
--color-cobalt-rush-3-300: #91C9FF;
--color-cobalt-rush-3-400: #5AABF4;
--color-cobalt-rush-3-500: #2F90DF;
--color-cobalt-rush-3-600: #1077C2;
--color-cobalt-rush-3-700: #005FA0;
--color-cobalt-rush-3-800: #004B81;
--color-cobalt-rush-3-900: #003B67;
--color-cobalt-rush-3-950: #002544;
}Light & dark theme
This palette as semantic tokens for a real interface, in both modes. Text, muted text and button labels are adjusted until they pass WCAG AA.
Light
Weekly summary
Everything your team shipped since Monday.
Dark
Weekly summary
Everything your team shipped since Monday.
:root {
--background: #F9FAFD;
--surface: #F1F4F8;
--text: #171B20;
--muted: #5F636A;
--border: #DADEE5;
--primary: #3796E7;
--primary-foreground: #1C1917;
--accent: #0074C0;
--accent-foreground: #FAFAF9;
}
.dark {
--background: #0D1014;
--surface: #161A1F;
--text: #EAEFF7;
--muted: #A0A5AC;
--border: #303338;
--primary: #4FACFE;
--primary-foreground: #1C1917;
--accent: #47A4F6;
--accent-foreground: #1C1917;
}Contrast checker
Text color (rows) on background (columns), scored against WCAG 2.1. 0 of 6 palette combinations are readable as body text. White and near-black text are included for comparison.
| Text ↓ / Bg → | #1E3C72 | #2A5298 | #4FACFE |
|---|---|---|---|
| #1E3C72 | Same color | 1.4Fail | 4.5AA18 |
| #2A5298 | 1.4Fail | Same color | 3.1AA18 |
| #4FACFE | 4.5AA18 | 3.1AA18 | Same color |
| White | 10.8AAA | 7.6AAA | 2.4Fail |
| Near-black | 1.6Fail | 2.3Fail | 7.2AAA |
AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only
Text that works on each color
- White on #1E3C72 · 10.8:1
- White on #2A5298 · 7.6:1
- Near-black on #4FACFE · 7.2:1
Suggested fixes for 6 failing pairs
The nearest shade of the text color that passes AA (4.5:1), keeping its hue. Click one to copy it.
Color blindness check
About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.
No green cones — the most common form. No two swatches become hard to tell apart here.
What are the HEX, RGB, and HSL values for Cobalt Rush?
Every color in this 3-color set, with its contrast ratio against white and black.
| Color | Name | HEX | RGB | HSL | On white | On black |
|---|---|---|---|---|---|---|
| #1E3C72 | Charcoal Blue | #1E3C72 | 30, 60, 114 | 219°, 58%, 28% | 10.80:1 | 1.94:1 |
| #2A5298 | Cobalt | #2A5298 | 42, 82, 152 | 218°, 57%, 38% | 7.61:1 | 2.76:1 |
| #4FACFE | Sky | #4FACFE | 79, 172, 254 | 208°, 99%, 65% | 2.42:1 | 8.66:1 |
Related gradients
Others sharing the same hues and tone