SBB brand colors, fonts & UI tokens
The palette, type, corner geometry and surface tones behind SBB’s website, with contrast ratios and tokens you can paste into Tailwind, CSS or Figma.
Typography
- Headings
- SBB Web
- Body
- SBB Web
- Monospace
- SF Mono
- Free stand-in
- Inter / JetBrains Mono
SBB Web is the railway's proprietary corporate typeface. Inter is the fallback named in SBB's own design tokens.
Geometry & surface
- Radius style
- Pill · 16 px+
- Controls
- pill (9999px)
- Cards
- 16px
- Scale
- 4px · 8px · 16px
Design language
- SBB Red (#EB0000) is the primary for key navigation and buttons; the rest of the palette is a named gray scale from Milk to Midnight.
- The digital design system Lyne publishes every color, radius and font token on npm (@sbb-esta/lyne-design-tokens).
- Pill-shaped buttons and a strict reduction to red, white and grays continue the railway's corporate design.
Live UI preview
SBB’s palette, type and corner geometry on a navbar, hero, pricing table, form field and toast. Switch to the WCAG-fixed palette or dark mode to compare.
Plan, track and release work with your team in one place. Start free and upgrade when you grow.
Your team can sign in now. Invite links expire in 7 days.
Every plan includes the core workspace.
For individuals
- 3 projects
- Basic reporting
- Community support
For growing teams
- Unlimited projects
- Advanced reporting
- Priority support
For larger organizations
- SSO and audit log
- Custom roles
- Dedicated manager
Sample content. Colors, type and corners come from the SBB profile.
Technical SEO snapshot
www.sbb.ch · scanned 11 Nov 2026www.sbb.ch refuses automated requests (HTTP 403), so no SEO metrics are published for it. The tokens on this page are a reference snapshot.
WCAG contrast ratios
| Pairing | Colors | Ratio | WCAG AA |
|---|---|---|---|
| Body text on surface | #212121 / #FFFFFF | 16.10:1 | Pass |
| Secondary text on surface | #686868 / #FFFFFF | 5.57:1 | Pass |
| Primary as link/text on surface | #EB0000 / #FFFFFF | 4.63:1 | Pass |
| Button label on primary | #FFFFFF / #EB0000 | 4.63:1 | Pass |
| Accent on surface | #C60018 / #FFFFFF | 6.15:1 | Pass |
| Secondary on surface | #2D327D / #FFFFFF | 11.27:1 | Pass |
| White on secondary | #FFFFFF / #2D327D | 11.27:1 | Pass |
| Dark mode: text on canvas | #F5F5F7 / #120A0C | 17.95:1 | Pass |
| Dark mode: primary on canvas | #F50000 / #120A0C | 4.54:1 | Pass |
Use the SBB system in SuiteAnvil
Each tool opens with SBB preloaded as the active BrandProfile.
SBB tokens for Tailwind CSS v4
Paste into your global stylesheet, or open StyleExtract for CSS variables, Figma tokens, DESIGN.md and .cursorrules.
/* SBB design tokens, extracted from https://www.sbb.ch
Generated by SuiteAnvil StyleExtract · https://suiteanvil.com */
@import "tailwindcss";
@theme {
/* Brand roles */
--color-brand: #EB0000;
--color-brand-foreground: #FFFFFF;
--color-secondary: #2D327D;
--color-accent: #C60018;
--color-surface: #FFFFFF;
--color-ink: #212121;
--color-ink-muted: #686868;
--color-line: #E5E5E5;
/* Surfaces (UI vibe: Neutral white) */
--color-canvas: #FFFFFF;
--color-card: #FFFFFF;
--color-hairline: #E5E5E5;
/* Primary tonal scale */
--color-brand-50: #FEF2F2;
--color-brand-100: #FDE0E0;
--color-brand-200: #FABFBF;
--color-brand-300: #F68C8C;
--color-brand-400: #F14D4D;
--color-brand-500: #EB0000;
--color-brand-600: #C90202;
--color-brand-700: #A30304;
--color-brand-800: #7B0506;
--color-brand-900: #590708;
--color-brand-950: #3C0809;
/* Typography: brand family first, free stand-in second */
--font-heading: "SBB Web", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
--font-sans: "SBB Web", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
--font-mono: "SF Mono", "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
/* Shape (UI vibe: Pill · 16 px+) */
--radius-sm: 4px;
--radius-md: 8px;
--radius-lg: 16px;
--radius-button: 9999px;
--radius-control: 9999px;
--radius-card: 16px;
}
/* Dark mode overrides (toggle with <html data-theme="dark">) */
@custom-variant dark (&:where([data-theme="dark"], [data-theme="dark"] *));
[data-theme="dark"] {
--color-brand: #F50000;
--color-brand-foreground: #111113;
--color-accent: #C60018;
--color-surface: #120A0C;
--color-canvas: #120A0C;
--color-card: #1C1115;
--color-hairline: #2A2324;
--color-ink: #F5F5F7;
--color-ink-muted: #A1A1AA;
--color-line: #2A2324;
}
SuiteAnvil extracts publicly visible design tokens, logos, and font references for workflow automation. You are responsible for ensuring you hold valid commercial rights or client authorization for any proprietary fonts, trademarks, and brand assets before commercial publication. Licensing notice
FAQ
What is SBB’s primary brand color?
SBB’s primary color is #EB0000 (rgb(235, 0, 0)), used for primary actions and emphasis. Text is set in #212121 on a #FFFFFF surface.
What font does SBB use?
SBB uses SBB Web for headings, with SF Mono for code. SBB Web is the railway's proprietary corporate typeface. Inter is the fallback named in SBB's own design tokens.
What is a free alternative to SBB’s font?
Inter is a close free alternative for headings, and JetBrains Mono works for monospace.
What corner radius does SBB use?
SBB reads as pill · 16 px+: controls use fully rounded pill shapes, cards about 16px, on a neutral white canvas (#FFFFFF).
Do SBB’s brand colors meet WCAG contrast?
9 of 9 key pairings pass WCAG 2.1 AA. All tested pairings pass.
More in Swiss & European
Reference snapshot of SBB’s public website styling for educational and interoperability purposes, scanned 11 Nov 2026. SBB and its logo are trademarks of their owner, shown for identification only; SuiteAnvil is not affiliated with or endorsed by SBB.
Compare your website with SBB
Scan your own site and see its palette, fonts, corner radius, WCAG contrast and SEO score next to SBB's, side by side.