Skip to content
SuiteAnvil
SBB
Swiss & European · Public transport

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.

Pill · 16 px+Neutral whiteLast scanned 11 Nov 2026
Scan your own site
primary
SBB Red
#EB0000
rgb(235, 0, 0)
hsl(0 100% 46%)
secondary
Blue
#2D327D
rgb(45, 50, 125)
hsl(236 47% 33%)
accent
Red 125
#C60018
rgb(198, 0, 24)
hsl(353 100% 39%)
surface
White
#FFFFFF
rgb(255, 255, 255)
hsl(0 0% 100%)
text
Charcoal
#212121
rgb(33, 33, 33)
hsl(0 0% 13%)
muted
Granite
#686868
rgb(104, 104, 104)
hsl(0 0% 41%)
border
Cloud
#E5E5E5
rgb(229, 229, 229)
hsl(0 0% 90%)
Milk #F6F6F6Iron #444444Midnight #151515

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
Canvas
#FFFFFF
Card
#FFFFFF
Hairline
#E5E5E5

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.

Brand surface
SBB
New
Timetable, tickets and travel in Switzerland

Plan, track and release work with your team in one place. Start free and upgrade when you grow.

Open tasks
128
Revenue
12,480.00
Members
24

One setup link, no newsletter.

Workspace ready

Your team can sign in now. Invite links expire in 7 days.

Simple pricing

Every plan includes the core workspace.

Starter

For individuals

$0/ month
  • 3 projects
  • Basic reporting
  • Community support
Team
Most popular

For growing teams

$24/ month
  • Unlimited projects
  • Advanced reporting
  • Priority support
Business

For larger organizations

$64/ month
  • SSO and audit log
  • Custom roles
  • Dedicated manager
Body text14.90:1passes 4.5:1Secondary text5.16:1passes 4.5:1Links4.63:1passes 4.5:1Button label4.63:1passes 4.5:1Badge text4.91:1passes 4.5:1

Sample content. Colors, type and corners come from the SBB profile.

Technical SEO snapshot

www.sbb.ch · scanned 11 Nov 2026

www.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

PairingColorsRatioWCAG AA
Body text on surface#212121 / #FFFFFF16.10:1Pass
Secondary text on surface#686868 / #FFFFFF5.57:1Pass
Primary as link/text on surface#EB0000 / #FFFFFF4.63:1Pass
Button label on primary#FFFFFF / #EB00004.63:1Pass
Accent on surface#C60018 / #FFFFFF6.15:1Pass
Secondary on surface#2D327D / #FFFFFF11.27:1Pass
White on secondary#FFFFFF / #2D327D11.27:1Pass
Dark mode: text on canvas#F5F5F7 / #120A0C17.95:1Pass
Dark mode: primary on canvas#F50000 / #120A0C4.54:1Pass

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.theme.css
/* 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.

Compare your site with SBB

We scan your homepage, CSS and sitemap, then put your palette, fonts, corner radius, WCAG contrast and technical SEO next to SBB's.

Benchmark pages are not indexed by search engines. Share them by link.