Midnight design system

Create a midnight design system. This page gives you a ready-to-use color system, export code, and a live gradient preview — no design tools required.

midnight design system UI preview
midnight design system UI preview

Color palette

#e7e9f5
Background 1
background
#f4f5fb
Surface 1
surface
#111827
Text Primary 1
text-primary
#717684
Text Secondary 1
text-secondary
#6169ba
Primary 1
primary
#229f8f
Secondary 1
secondary
#4e5495
Accent 1
accent

Midnight design system explained

The midnight design system pairs #6169ba as its primary hue with #4e5495 as the accent. The palette is balanced for midnight aesthetics while keeping text readable against the surface color.

Every swatch is derived from the same two anchor colors, so the design system stays harmonious across backgrounds, borders, buttons, and hover states. Copy the CSS below or open it in your favorite tool and apply it immediately.

Use the preview image as a starting point for your own mockups. It shows the exact #6169ba → #229f8f gradient applied to a phone screen, a primary button, and a wave pattern so you can see how the midnight look plays out in a real interface.

Export code

/* CSS Custom Properties */
:root {
  --background: #e7e9f5;
  --surface: #f4f5fb;
  --text-primary: #111827;
  --text-secondary: #717684;
  --primary: #6169ba;
  --secondary: #229f8f;
  --accent: #4e5495;
}

/* Tailwind CSS config (extend.colors) */
module.exports = {
  theme: {
    extend: {
      colors: {
        'background': '#e7e9f5',
        'surface': '#f4f5fb',
        'text-primary': '#111827',
        'text-secondary': '#717684',
        'primary': '#6169ba',
        'secondary': '#229f8f',
        'accent': '#4e5495',
      }
    }
  }
};

Related design systems