Lightning Design System 2
Lightning Design System 2
salesforce
Design System
Salesforce logo

Salesforce

Salesforce's design language is enterprise software's most institutional blue, rebuilt for the AI-agent era. The marketing surface opens on a white canvas (#ffffff) with near-black body text (#080707), deep navy headlines (#032d60), and one unmistakable action color: Salesforce Blue (#0176d3). What makes this system notable is its rare alignment betw

01

Color Palette

Brand

Accent

Neutrals

Semantic

02

Typography

Type Scale

Rendered in system-ui to clearly show scale & weight.

display48px · 400 · 1.25
Design at scale
32px32px · 400 · 1.25
Section heading
heading-lg24px · 400 · 1.4
Subheading
body16px · 400 · 1.5
Body text. The quick brown fox jumps over the lazy dog. Designed for readable line-height in long-form content.
small12px · 400 · 1.5
Supporting text
caption12px · 400 · 1.5
Caption · timestamp · 2026
label10px · 500 · 1.5
BADGE / LABEL

Fonts

Primary
Inter
Open · OFL
Designed by Rasmus Andersson. Variable font with full weight range.
Install via Google Fonts
Display
ITC Avant Garde
Brand-only
Not in the OMD font registry. Likely a brand-proprietary typeface — check the brand's own design site for source/availability.
Not publicly distributed.
Primary
Salesforce Sans
Brand-only
Not in the OMD font registry. Likely a brand-proprietary typeface — check the brand's own design site for source/availability.
Not publicly distributed.
Primary
AvantGardeForSalesforce
Brand-only
Not in the OMD font registry. Likely a brand-proprietary typeface — check the brand's own design site for source/availability.
Not publicly distributed.
Primary
Seol Sans Heavy
Brand-only
Not in the OMD font registry. Likely a brand-proprietary typeface — check the brand's own design site for source/availability.
Not publicly distributed.
Primary
FONT_SIZE_1
Brand-only
Not in the OMD font registry. Likely a brand-proprietary typeface — check the brand's own design site for source/availability.
Not publicly distributed.
Primary
FONT_SIZE_10
Brand-only
Not in the OMD font registry. Likely a brand-proprietary typeface — check the brand's own design site for source/availability.
Not publicly distributed.
03

Spacing & Shape

Spacing

PurposeValuePreview
Densitycompact
Base unit4px
Section gap20px
Card padding12px
Element gap8px

Border Radius

ElementValuePreview
buttonsTight4px
textTight4px
sldsStandard8px
sldsRelaxed16px
largerRelaxed16px
mediatestimonialSoft22px
plushPlush32px
carouselCircle9999px
avatarsCircle9999px

Elevation

Subtle
Default
Elevated
Floating
Modal
04

Guidelines

Do and Don't guidelines parsed from DESIGN.md.

Do

  • Use #0176d3 as the single action blue — it is both the live CTA color and the official color-brand-base-50 token
  • Set headings in ITC Avant Garde at weight 400; let the geometry, not boldness, carry presence
  • Use #032d60 navy for headings and pair every primary CTA with a white outline secondary
  • Keep CTA geometry conservative: 4px radius, 2px border, 12px 32px padding, 16px/700 label
  • Alternate white / #eaf5fe / #f4f4f4 section bands to pace long pages
  • Pull semantic colors from the SLDS ramps (#ea001e error, #2e844a success, #dd7a01 warning)
  • Use the SLDS radius scale (2/4/8/16/circle) and #181818-alpha layered shadows inside product UI
  • Reserve soft 22–32px radii for storytelling cards and glass tiles, not for controls

Don't

  • Introduce a second action color — blue owns every interactive affordance
  • Bold the display face — Avant Garde runs at 400; bolding it breaks the keynote voice
  • Use pure black for headings or body (#032d60 navy and #080707 ink are the system's darks)
  • Add drop shadows to marketing cards — separation is banding, hairlines, and translucent borders
  • Use Salesforce Sans for hero headlines or Avant Garde inside product UI — the font federation is strict
  • Round CTAs into pills — 4px is the contract; pills belong to carousel controls only
  • Tint shadows with brand color — SLDS shadows are neutral #181818 alphas by design
  • Hand-pick off-ramp blues — use the 13-step color-brand-base ladder
05

Components

Buttons

button-primary
Background#0176d3
Text#ffffff
Border2px solid #0176d3
Radius4px
Padding12px 32px
Font16px / 700
Use: Primary CTA — 'Start for free', 'Calculate pricing'
button-secondary
Background#ffffff
Text#0176d3
Border2px solid #0176d3
Radius4px
Padding12px 32px
Font16px / 700
Use: Paired outline CTA — 'Watch demo'
button-tertiary
Text#032d60
Radius4px
Font14px / 700
Use: 'Learn more' text CTA on cards
carousel-control
Text#ffffff
Border2px solid #ffffff
Radius9999px
Use: Prev/next/pause controls on testimonial carousel

Cards

image fills
card-glass
Text#ffffff
Border2px solid rgba(255,255,255,0.1)
Radius32px
Padding19px
Use: Translucent product tile (Slack/Agentforce/Customer 360/Data 360) on dark hero, bg rgba(255,255,255,0.05)
image fills
card-media
Text#080707
Radius22px
Use: Customer-story video testimonial card
card-tint
card-tint
Background#eaf5fe
Text#032d60
Use: Light cloud-blue section band / promo panel

Tabs

TabTabTab
nav-link
Text#080707
Font16px / 400
Activetext #0176d3
Use: Global nav item

Related design systems