Skip to main content

Ultramarine Dream

3-color CSS gradient

Open in Studio Visualize

Ultramarine Dream is a 3-color CSS linear gradient built from #1A2A6C, #3E5BD8, and #A0B8FF. Its hues sit in the blue range, and reads as cool. White text on it keeps at least 1.95:1 at its weakest point — below every WCAG text threshold.

135°
Stops

UI Preview

See how this gradient looks in a real interface

🎨

Welcome Back

Your creative workspace awaits

Continue

Shade 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.

#1A2A6C

#3E5BD8

#A0B8FF

@theme {
  --color-ultramarine-dream-1-50: #F4F7FF;
  --color-ultramarine-dream-1-100: #E4ECFF;
  --color-ultramarine-dream-1-200: #CCDAFF;
  --color-ultramarine-dream-1-300: #ADC2F9;
  --color-ultramarine-dream-1-400: #89A2E7;
  --color-ultramarine-dream-1-500: #6D87D1;
  --color-ultramarine-dream-1-600: #576FB5;
  --color-ultramarine-dream-1-700: #445896;
  --color-ultramarine-dream-1-800: #354679;
  --color-ultramarine-dream-1-900: #293760;
  --color-ultramarine-dream-1-950: #182240;
}

@theme {
  --color-ultramarine-dream-2-50: #F4F7FF;
  --color-ultramarine-dream-2-100: #E5ECFF;
  --color-ultramarine-dream-2-200: #CCDAFF;
  --color-ultramarine-dream-2-300: #ABC1FF;
  --color-ultramarine-dream-2-400: #7F9FFF;
  --color-ultramarine-dream-2-500: #5B7EFE;
  --color-ultramarine-dream-2-600: #4766DF;
  --color-ultramarine-dream-2-700: #3650BB;
  --color-ultramarine-dream-2-800: #293E97;
  --color-ultramarine-dream-2-900: #203179;
  --color-ultramarine-dream-2-950: #111E52;
}

@theme {
  --color-ultramarine-dream-3-50: #F4F7FF;
  --color-ultramarine-dream-3-100: #E5ECFE;
  --color-ultramarine-dream-3-200: #CEDAFB;
  --color-ultramarine-dream-3-300: #B0C2F4;
  --color-ultramarine-dream-3-400: #8DA2E0;
  --color-ultramarine-dream-3-500: #7187CB;
  --color-ultramarine-dream-3-600: #5B6FAF;
  --color-ultramarine-dream-3-700: #485990;
  --color-ultramarine-dream-3-800: #384674;
  --color-ultramarine-dream-3-900: #2B375C;
  --color-ultramarine-dream-3-950: #1A223D;
}

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.

Open reportNewDetails

Dark

Weekly summary

Everything your team shipped since Monday.

Open reportNewDetails
:root {
  --background: #F9FAFD;
  --surface: #F2F3F8;
  --text: #181A20;
  --muted: #60636A;
  --border: #DBDEE5;
  --primary: #3E5BD8;
  --primary-foreground: #FAFAF9;
  --accent: #6D8CF1;
  --accent-foreground: #1C1917;
}

.dark {
  --background: #0E0F14;
  --surface: #17191F;
  --text: #EBEEF7;
  --muted: #A1A4AC;
  --border: #313338;
  --primary: #6E90FF;
  --primary-foreground: #1C1917;
  --accent: #7899FF;
  --accent-foreground: #1C1917;
}

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.1. 2 of 6 palette combinations are readable as body text. White and near-black text are included for comparison.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #1A2A6C#3E5BD8#A0B8FF
#1A2A6C
Same color
2.3Fail
6.8AA
#3E5BD8
2.3Fail
Same color
2.9Fail
#A0B8FF
6.8AA
2.9Fail
Same color
White
13.2AAA
5.7AA
1.9Fail
Near-black
1.3Fail
3.1AA18
9.0AAA

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 #1A2A6C · 13.2:1
  • White on #3E5BD8 · 5.7:1
  • Near-black on #A0B8FF · 9.0:1
Suggested fixes for 4 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.

Typical
Deuteranopia

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 Ultramarine Dream?

Every color in this 3-color set, with its contrast ratio against white and black.

Color values for Ultramarine Dream: hex, RGB, HSL, and WCAG contrast ratios against white and black.
ColorNameHEXRGBHSLOn whiteOn black
#1A2A6CMidnight Blue#1A2A6C26, 42, 108228°, 61%, 26%13.19:11.59:1
#3E5BD8Royal Blue#3E5BD862, 91, 216229°, 66%, 55%5.69:13.69:1
#A0B8FFLight Sky Blue#A0B8FF160, 184, 255225°, 100%, 81%1.95:110.79:1