Skip to main content

Foam Line

2-color CSS gradient

Open in Studio Visualize

Foam Line is a 2-color CSS linear gradient built from #ECFEFF and #0EA5E9. Its hues sit in the blue range, and reads as neutral and cool. Dark text (#111827) on it keeps at least 6.40:1 at its weakest point — enough for WCAG AA body text.

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.

#ecfeff

#0ea5e9

@theme {
  --color-foam-line-1-50: #F6F8F8;
  --color-foam-line-1-100: #E9EDED;
  --color-foam-line-1-200: #D5DCDD;
  --color-foam-line-1-300: #BAC6C7;
  --color-foam-line-1-400: #99A8A9;
  --color-foam-line-1-500: #7E8E8F;
  --color-foam-line-1-600: #677677;
  --color-foam-line-1-700: #525F60;
  --color-foam-line-1-800: #404B4C;
  --color-foam-line-1-900: #323B3C;
  --color-foam-line-1-950: #1F2526;
}

@theme {
  --color-foam-line-2-50: #F0F9FF;
  --color-foam-line-2-100: #DAF0FF;
  --color-foam-line-2-200: #B5E2FF;
  --color-foam-line-2-300: #7FCDFE;
  --color-foam-line-2-400: #41B0ED;
  --color-foam-line-2-500: #0095D4;
  --color-foam-line-2-600: #007CB1;
  --color-foam-line-2-700: #00638F;
  --color-foam-line-2-800: #004F73;
  --color-foam-line-2-900: #003E5B;
  --color-foam-line-2-950: #00273C;
}

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: #F7FBFB;
  --surface: #EFF5F5;
  --text: #141C1D;
  --muted: #5C6566;
  --border: #D7E0E1;
  --primary: #009ADC;
  --primary-foreground: #1C1917;
  --accent: #006C9C;
  --accent-foreground: #FAFAF9;
}

.dark {
  --background: #0A1111;
  --surface: #131B1C;
  --text: #E6F1F2;
  --muted: #9CA7A8;
  --border: #2D3435;
  --primary: #0EA5E9;
  --primary-foreground: #1C1917;
  --accent: #1BAAEE;
  --accent-foreground: #1C1917;
}

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.1. 0 of 2 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 → #ECFEFF#0EA5E9
#ECFEFF
Same color
2.7Fail
#0EA5E9
2.7Fail
Same color
White
1.0Fail
2.8Fail
Near-black
16.8AAA
6.3AA

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

  • Near-black on #ECFEFF · 16.8:1
  • Near-black on #0EA5E9 · 6.3:1
Suggested fixes for 2 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 Foam Line?

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

Color values for Foam Line: hex, RGB, HSL, and WCAG contrast ratios against white and black.
ColorNameHEXRGBHSLOn whiteOn black
#ECFEFFAzure#ECFEFF236, 254, 255183°, 100%, 96%1.04:120.19:1
#0EA5E9Sky#0EA5E914, 165, 233199°, 89%, 48%2.77:17.58:1