Skip to main content

Twilight Zone

4-color mesh gradient

Open in Studio Visualize

Twilight Zone is a 4-color CSS mesh gradient built from #1E293B, #334155, #475569, and #64748B. It reads as neutral and dark. White text on it keeps at least 4.76:1 at its weakest point — enough for WCAG AA body text.

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.

#1e293b

#334155

#475569

#64748b

@theme {
  --color-twilight-zone-1-50: #F5F7FB;
  --color-twilight-zone-1-100: #E8ECF3;
  --color-twilight-zone-1-200: #D4DBE7;
  --color-twilight-zone-1-300: #B9C4D6;
  --color-twilight-zone-1-400: #98A5BC;
  --color-twilight-zone-1-500: #7D8CA3;
  --color-twilight-zone-1-600: #66748A;
  --color-twilight-zone-1-700: #515D70;
  --color-twilight-zone-1-800: #404A5A;
  --color-twilight-zone-1-900: #323A47;
  --color-twilight-zone-1-950: #1E242E;
}

@theme {
  --color-twilight-zone-2-50: #F5F8FB;
  --color-twilight-zone-2-100: #E8ECF3;
  --color-twilight-zone-2-200: #D3DBE7;
  --color-twilight-zone-2-300: #B8C4D6;
  --color-twilight-zone-2-400: #97A6BC;
  --color-twilight-zone-2-500: #7C8CA3;
  --color-twilight-zone-2-600: #65748A;
  --color-twilight-zone-2-700: #505D70;
  --color-twilight-zone-2-800: #3F4A5A;
  --color-twilight-zone-2-900: #313A47;
  --color-twilight-zone-2-950: #1E242E;
}

@theme {
  --color-twilight-zone-3-50: #F5F8FB;
  --color-twilight-zone-3-100: #E8ECF3;
  --color-twilight-zone-3-200: #D3DBE7;
  --color-twilight-zone-3-300: #B8C4D6;
  --color-twilight-zone-3-400: #97A6BC;
  --color-twilight-zone-3-500: #7C8CA3;
  --color-twilight-zone-3-600: #65748A;
  --color-twilight-zone-3-700: #505D70;
  --color-twilight-zone-3-800: #3F4A5A;
  --color-twilight-zone-3-900: #313A47;
  --color-twilight-zone-3-950: #1E242E;
}

@theme {
  --color-twilight-zone-4-50: #F5F8FB;
  --color-twilight-zone-4-100: #E8ECF3;
  --color-twilight-zone-4-200: #D3DBE7;
  --color-twilight-zone-4-300: #B8C4D6;
  --color-twilight-zone-4-400: #96A6BC;
  --color-twilight-zone-4-500: #7B8CA4;
  --color-twilight-zone-4-600: #65748A;
  --color-twilight-zone-4-700: #505D71;
  --color-twilight-zone-4-800: #3F4A5A;
  --color-twilight-zone-4-900: #313A47;
  --color-twilight-zone-4-950: #1E242E;
}

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: #F8FAFD;
  --surface: #F1F4F8;
  --text: #171B20;
  --muted: #5F636A;
  --border: #DADEE5;
  --primary: #64748B;
  --primary-foreground: #FAFAF9;
  --accent: #334257;
  --accent-foreground: #FAFAF9;
}

.dark {
  --background: #0D1014;
  --surface: #161A1F;
  --text: #EAEFF7;
  --muted: #A0A5AC;
  --border: #303338;
  --primary: #899AB2;
  --primary-foreground: #1C1917;
  --accent: #8FA0B8;
  --accent-foreground: #1C1917;
}

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.1. 0 of 12 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 → #1E293B#334155#475569#64748B
#1E293B
Same color
1.4Fail
1.9Fail
3.1AA18
#334155
1.4Fail
Same color
1.4Fail
2.2Fail
#475569
1.9Fail
1.4Fail
Same color
1.6Fail
#64748B
3.1AA18
2.2Fail
1.6Fail
Same color
White
14.6AAA
10.4AAA
7.6AAA
4.8AA
Near-black
1.2Fail
1.7Fail
2.3Fail
3.7AA18

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 #1E293B · 14.6:1
  • White on #334155 · 10.4:1
  • White on #475569 · 7.6:1
  • White on #64748B · 4.8:1
Suggested fixes for 12 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 Twilight Zone?

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

Color values for Twilight Zone: hex, RGB, HSL, and WCAG contrast ratios against white and black.
ColorNameHEXRGBHSLOn whiteOn black
#1E293BNavy Blue#1E293B30, 41, 59217°, 33%, 17%14.63:11.44:1
#334155Charcoal Blue#33415551, 65, 85215°, 25%, 27%10.35:12.03:1
#475569Slate Blue Gray#47556971, 85, 105215°, 19%, 35%7.58:12.77:1
#64748BSlate#64748B100, 116, 139215°, 16%, 47%4.76:14.41:1