---
name: railway-style
description: "Design in the visual style of Railway (railway.com). A calm night sky. Deep indigo, painted clouds and stars, a bookish serif headline and soft purple buttons over a real product canvas. Use when building, restyling or polishing any web page, screen or UI component in this project."
---

# Railway style

Apply the visual style of Railway (https://railway.com) to whatever you build or restyle in this project. Copy the style, never the content.

## How to apply it

1. When restyling something that exists, change how it looks, not what it does. Keep the copy, images, links, forms, features, page titles, meta tags, URLs and structured data exactly as they are.
2. When building something new, use the layout and component notes below as the starting structure and write original copy for the project.
3. Put the palette into CSS variables or theme tokens first, then use only those tokens.
4. Load the typefaces below. Where a named font is not freely available, use the free alternative given.
5. Work one section at a time, and say what you changed.

**The style in one line:** A calm night sky. Deep indigo, painted clouds and stars, a bookish serif headline and soft purple buttons over a real product canvas.

## Colour palette

| Name | Hex |
| --- | --- |
| Background | `#13111C` |
| Panel | `#1B2132` |
| Deep | `#0D0C14` |
| Text | `#F7F7F8` |
| Secondary | `#878593` |
| Purple | `#553F83` |
| Lilac | `#BF93EC` |

## Typefaces

| Role | Typeface | Free alternative |
| --- | --- | --- |
| Headings | IBM Plex Serif |  |
| Body | Inter |  |
| Product UI and code | JetBrains Mono |  |

## Look and feel

Peaceful, dusky and slightly magical. A hand-painted illustration of clouds at night sets the tone, and everything else stays quiet enough to let it breathe. Technical, but gentle.

## Colour

- Background #13111C, a deep indigo-black. Panels #1B2132, deepest surfaces #0D0C14.
- Text #F7F7F8, secondary text #878593.
- Accent purples: #553F83 for the main button, #BF93EC for links and highlights. Illustration colours are muted violet, dusty pink and slate blue.

## Typography

- Headings in IBM Plex Serif, weight 500: hero 54px, line-height 1.12, letter-spacing -0.036em, centred, white.
- Body in Inter, 18px in the hero, light grey. One word in the hero sentence carries a thin underline.
- JetBrains Mono for anything inside product mock-ups: service names, logs, labels.

## Layout

- Plain navigation on the page background, then a large rounded container (16px radius, small page margin) filled with the illustration: a starry sky with layered painted clouds, darker at the top, warmer and pinker at the bottom corners.
- Headline, one line of text and two buttons sit centred near the top of the illustration.
- A product canvas window (#0D0C14, 12px radius, 1px border) rises from the lower half of the illustration and overlaps its bottom edge. Inside: a toolbar with tabs, zoom controls, and service cards connected on a dotted grid.
- Later sections: serif headings left-aligned, with alternating text and dark product panels.

## Components

- Buttons: 8px radius, 44px tall. Primary is #553F83 with a lighter 1px border and white text ending in an arrow. Secondary is near-black with a 1px border.
- Navigation: logo left, links with chevrons centred, "Sign in" and "Book a demo" as plain text on the right.
- Cards: #1B2132, 1px white 8% border, 12px radius.

## Motion

- Stars twinkle at random and the cloud layers drift sideways very slowly at different speeds.
- Service cards in the canvas animate through "building" to "deployed" states.
- Gentle 600ms fade-ups on scroll.

## Rules

- Do not reuse Railway's name, logo, wording or imagery.
- Treat the layout and component notes as a guide and adapt them to the pages the project actually has.
- Make it fully responsive, with a mobile layout that is as considered as the desktop one.
- Keep it accessible: semantic HTML, visible focus states, and body text contrast of at least 4.5:1.

Source: https://ping.design/inspo/railway/. Colours were measured from the live site on 10 November 2026. Motion notes are recommendations for the style, not measurements.
