GrammarlyBrand
DESIGN.md · measured October 21, 2026
Railway design system
Dark interface measured from railway.com: IBM Plex Serif type with Inter, violet accents, tonal surfaces and 6px corners.
- Background
- #13111C
- Primary
- #553F83
- Type
- IBM Plex Serif
- Corners
- 6px
From railway.com ↗ · 299 elements at 1440×900 and 390×844 · Independent analysis, not affiliated with Railway
Railway colors
15 roles measured on the page, grouped by where each color is used.
Surfaces
#13111Cbackground · --osano-toggle-on-thumb-colorPage background · 3×#1C1A28surface-container-low · --gray-50Raised areas one step from the page · 2×#291839surface-containerCards and panels · 1×#00000059overlayTranslucent fill for cards and controls · 1×#FFFFFF1Aoverlay-strongStronger translucent fill · 1×Text
#FFFFFFon-surface · --osano-button-reject-all-foreground-colorPrimary text and headings · 20×#F7F7F8on-surface-variant · --gray-950Secondary text · 11×#DCDCE0on-surface-mutedMuted text and metadata · 5×#A1A0ABon-surface-subtle · --gray-600Subtle text and placeholders · 41×#FFFFFFon-primaryText and icons on primaryAccents
#553F83primaryPrimary buttons and calls to action · 1×#F9A8D4secondaryMost used accent color · 15×#A78BFAtertiaryMost used accent color · 3×Borders
#FFFFFF26outlineBorders and dividers · 2×#FFFFFF1Aoutline-variantSecondary dividers · 2×Railway fonts
2 families.
mobile 40px
Contrast
Text on #13111C
18.7:117.4:113.7:17.2:1Spacing
4px grid · 93% of values fit
xs4pxsm8pxmd12pxlg32pxxl48pxgutter32pxsection96pxmargin16pxBreakpoints: 376px 768px 1200px
Shapes
Corner radii, most used first.
Depth
Flat: no shadows measured.
Components
Rebuilt from the measured CSS.
Motion
Interface transitions
0.15s0.2scubic-bezier(0.4, 0, 0.2, 1)ease-out
Do’s and don’ts
Rules written from the measurements, so a coding agent stays on style.
- Use #13111C for the page and lift surfaces in small steps: #1C1A28, #291839.
- Keep text in 4 levels: #FFFFFF, #F7F7F8, #DCDCE0, #A1A0AB.
- Reserve #553F83 for primary actions and key highlights.
- Set headlines in IBM Plex Serif with tight tracking (-0.036em).
- Keep spacing on the 4px grid.
- Use 6px corners on most elements; larger surfaces also use 8px and 12px.
- Add drop shadows for depth; use tonal surfaces.
- Introduce new font families beyond IBM Plex Serif and Inter.
- Use #553F83 for large backgrounds or body text.
- Make interface transitions slower than 0.2s.
---
version: alpha
name: Railway
description: "Dark interface measured from railway.com: IBM Plex Serif type with Inter, violet accents, tonal surfaces and 6px corners."
colors:
background: "#13111C"
surface: "#13111C"
on-surface: "#FFFFFF"
on-background: "#FFFFFF"
on-surface-variant: "#F7F7F8"
on-surface-muted: "#DCDCE0"
on-surface-subtle: "#A1A0AB"
surface-container-low: "#1C1A28"
surface-container: "#291839"
overlay: "#00000059"
overlay-strong: "#FFFFFF1A"
outline: "#FFFFFF26"
outline-variant: "#FFFFFF1A"
primary: "#553F83"
on-primary: "#FFFFFF"
secondary: "#F9A8D4"
tertiary: "#A78BFA"
typography:
headline-display:
fontFamily: IBM Plex Serif
fontSize: 54px
fontWeight: 500
lineHeight: 1.12
letterSpacing: -0.036em
headline-lg:
fontFamily: IBM Plex Serif
fontSize: 40px
fontWeight: 400
lineHeight: 1.2
letterSpacing: -0.02em
headline-md:
fontFamily: IBM Plex Serif
fontSize: 36px
fontWeight: 400
lineHeight: 1.33
letterSpacing: -0.02em
body-md:
fontFamily: Inter
fontSize: 14px
fontWeight: 400
lineHeight: 1.43
body-lg:
fontFamily: Inter
fontSize: 18px
fontWeight: 500
lineHeight: 1.6
letterSpacing: -0.005em
label-md:
fontFamily: Inter
fontSize: 16px
fontWeight: 400
lineHeight: 1.63
label-sm:
fontFamily: Inter
fontSize: 14px
fontWeight: 500
lineHeight: 1.43
headline-display-mobile:
fontFamily: IBM Plex Serif
fontSize: 40px
fontWeight: 500
lineHeight: 1.12
letterSpacing: -0.049em
rounded:
sm: 6px
md: 8px
lg: 12px
full: 9999px
spacing:
base: 4px
xs: 4px
sm: 8px
md: 12px
lg: 32px
xl: 48px
gutter: 32px
section: 96px
margin: 16px
components:
button-primary:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
rounded: "{rounded.md}"
padding: 12px 24px
height: 58px
button-outline:
backgroundColor: "{colors.surface-container}"
textColor: "{colors.on-surface-variant}"
typography: "{typography.label-md}"
rounded: "{rounded.md}"
padding: 0px
height: 32px
button-ghost:
backgroundColor: "{colors.overlay}"
textColor: "{colors.on-surface}"
rounded: "{rounded.md}"
padding: 12px 24px
height: 58px
link:
textColor: "{colors.on-surface}"
---
# Railway Design System
## Overview
Railway describes itself as: “Railway is a full-stack cloud for deploying web apps, servers, databases, and more with automatic scaling, monitoring, and security.” The interface is dark, built on **Cool Charcoal (#13111C)** with **White (#FFFFFF)** text, and **Violet (#553F83)** as the main accent.
Type is set in **IBM Plex Serif** and **Inter**. Headlines run large with tight negative tracking; body text is 14px. The surface language is flat. Corners are mostly 6px.
Measured from [railway.com](https://railway.com/) on October 21, 2026 at 1440×900 and 390×844 from 299 rendered elements. Values are computed styles from the live page, not the original source files.
## Colors
The palette has 15 roles.
- **Cool Charcoal (#13111C):** Page background, seen 3 times. Token `background`, CSS `--osano-toggle-on-thumb-color`.
- **White (#FFFFFF):** Primary text and headings, seen 20 times. Token `on-surface`, CSS `--osano-button-reject-all-foreground-color`.
- **Snow (#F7F7F8):** Secondary text, seen 11 times. Token `on-surface-variant`, CSS `--gray-950`.
- **Silver (#DCDCE0):** Muted text and metadata, seen 5 times. Token `on-surface-muted`.
- **Cool Gray (#A1A0AB):** Subtle text and placeholders, seen 41 times. Token `on-surface-subtle`, CSS `--gray-600`.
- **Cool Charcoal (#1C1A28):** Raised areas one step from the page, seen 2 times. Token `surface-container-low`, CSS `--gray-50`.
- **Deep Violet (#291839):** Cards and panels, seen 1 time. Token `surface-container`.
- **Near Black 35% (#00000059):** Translucent fill for cards and controls, seen 1 time. Token `overlay`.
- **White 10% (#FFFFFF1A):** Stronger translucent fill, seen 1 time. Token `overlay-strong`.
- **White 15% (#FFFFFF26):** Borders and dividers, seen 2 times. Token `outline`.
- **White 10% (#FFFFFF1A):** Secondary dividers, seen 2 times. Token `outline-variant`.
- **Violet (#553F83):** Primary buttons and calls to action, seen 1 time. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Light Pink (#F9A8D4):** Most used accent color, seen 15 times. Token `secondary`.
- **Light Violet (#A78BFA):** Most used accent color, seen 3 times. Token `tertiary`.
## Typography
**IBM Plex Serif** and **Inter** share the interface. Fallback stack: `IBM Plex Serif, Georgia, Cambria, Times New Roman`. Other loaded fonts: Inter Tight, JetBrains Mono.
- **headline-display:** IBM Plex Serif 54px at weight 500, line height 1.12, tracking -0.036em (40px on mobile). Page title (h1).
- **headline-lg:** IBM Plex Serif 40px at weight 400, line height 1.2, tracking -0.02em. Section headings (h2).
- **headline-md:** IBM Plex Serif 36px at weight 400, line height 1.33, tracking -0.02em. Sub-section headings.
- **body-md:** Inter 14px at weight 400, line height 1.43. Body text.
- **body-lg:** Inter 18px at weight 500, line height 1.6, tracking -0.005em. Lead paragraphs.
- **label-md:** Inter 16px at weight 400, line height 1.63. Buttons, navigation and labels.
- **label-sm:** Inter 14px at weight 500, line height 1.43. Small labels and badges.
## Layout
Spacing follows a 4px grid: 93% of measured gaps and paddings are multiples of 4px.
- **Scale:** xs 4px, sm 8px, md 12px, lg 32px, xl 48px.
- **Sections:** 96px vertical padding between major sections.
- **Gaps:** 32px is the most common gap in flex and grid layouts.
- **Page margin:** 16px on each side of full-width sections.
- **Breakpoints:** 376px, 768px, 1200px.
## Elevation & Depth
The design is flat: no shadows were measured. Hierarchy comes from tonal surface steps (#1C1A28 → #291839) and #FFFFFF26 borders.
## Shapes
Most elements use 6px corners. Measured radii, most used first:
- **sm (6px):** 28 elements.
- **md (8px):** 28 elements.
- **lg (12px):** 8 elements.
- **full (9999px):** 4 elements.
## Components
Measured from the rendered page. Token values reference the tokens above.
- **button-primary (“Deploy →”):** #553F83 fill, #FFFFFF text, 20px/500, 8px radius, padding 12px 24px, border 1px solid #FFFFFF26.
- **button-outline (“Deploy”):** #291839 fill, #F7F7F8 text, 16px/400, 8px radius, padding 0px.
- **button-ghost (“Agents”):** #00000059 fill, #FFFFFF text, 20px/500, 8px radius, padding 12px 24px, border 1px solid #FFFFFF40.
- **link:** transparent fill, #FFFFFF text, padding 0px.
## Do's and Don'ts
- Do use #13111C for the page and lift surfaces in small steps: #1C1A28, #291839.
- Do keep text in 4 levels: #FFFFFF, #F7F7F8, #DCDCE0, #A1A0AB.
- Do reserve #553F83 for primary actions and key highlights.
- Do set headlines in IBM Plex Serif with tight tracking (-0.036em).
- Do keep spacing on the 4px grid.
- Do use 6px corners on most elements; larger surfaces also use 8px and 12px.
- Don't add drop shadows for depth; use tonal surfaces.
- Don't introduce new font families beyond IBM Plex Serif and Inter.
- Don't use #553F83 for large backgrounds or body text.
- Don't make interface transitions slower than 0.2s.
## Motion
Interface transitions are quick: 0.15s, 0.2s. Longer ambient animations run 3s.
- **Easing:** `cubic-bezier(0.4, 0, 0.2, 1)`, `ease-out`, `cubic-bezier(0.25, 0.1, 0.25, 0.8)`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.
Generated by [Sitepeel](https://sitepeel.dev/design-md/railway.com/), the free DESIGN.md generator.
What you can build with it
Landing pages, pricing tables, dashboards: your AI coding agent builds them in this style, with these colors, fonts, spacing and buttons instead of its defaults.
Download DESIGN.md, put it in your project’s root folder, then ask your agent for a page.
Build a landing page for my product. Follow for every color, font, spacing value, corner and button.
Need more than one page?
Design MD in the Sitepeel tools for Chrome measures pages behind a login, combines several pages into one file and works on any site you open.
More designs
See all →FAQ
Questions
What can I build with the Railway DESIGN.md?
Any page or component in this style: a landing page, pricing table, dashboard or sign-up form. Your AI coding agent uses the measured colors, IBM Plex Serif type, spacing, corners and buttons instead of its own defaults.
How do I use it with Claude Code or Cursor?
Download the file and put it in your project’s root folder, then ask your agent to follow DESIGN.md. Step-by-step guides: Claude Code, Cursor, Codex, GitHub Copilot.
Is this Railway’s official design system?
No. Sitepeel measured it from railway.com’s public page on October 21, 2026. It is an independent analysis, not made or approved by Railway.
Can I use Railway’s style in my own product?
Use it to learn, prototype and compare. For a real product, make the style your own, and never copy Railway’s logo, name, pictures or text.
How accurate are the values?
Each value was measured on the rendered page after it fully loaded, on desktop and mobile: colors where they appear, type with tracking, spacing, corners, shadows and hover states. Sites change, so check the date at the top.




