Sitepeel
LEGO website (lego.com) as measured on December 5, 2026

DESIGN.md · measured December 5, 2026

LEGO design system

LEGO’s website (lego.com) uses the Cera Pro font and #FFD400 as its main color on a white background. Measured by Sitepeel on December 5, 2026.

  • #FFFFFF
  • #FFFFFFF0
  • #141414
  • #FFD400
Download DESIGN.md

From lego.com ↗ · 395 elements at 1440×900 and 390×844 Independent analysis, not affiliated with LEGO

LEGO color palette

12 colors with hex codes, grouped by where each one is used on the page.

Surfaces

White#FFFFFFbackground · --ds-halloween-2026-expression-content-defaultPage background · 31×
White 94%#FFFFFFF0surface-container-lowRaised areas one step from the page · 1×
Mist#F2F2F2surface-containerCards and panels · 19×

Text

Charcoal#141414on-surface · --ds-despicable-me-4-expression-surface-inversePrimary text and headings · 78×
Near Black#000000on-surface-strong · --ds-k-pop-demon-hunters-expression-content-inverseHeadings and emphasis · 20×
Near Black#000000on-primaryText and icons on primary

Accents

Vivid Amber#FFD400primaryBrand color on large areas · 8×
Blue#005AD2secondaryAccent on large areas · 1×
Vivid Orange#F47D20tertiarySecondary buttons · 19×

Borders

Near Black 6%#0000000FoutlineBorders and dividers · 20×
Near Black 15%#00000026outline-variantSecondary dividers · 3×

Status

Dark Red#BD0000error · --ds-color-text-negativeErrors and destructive states · 3×

Gradients

LEGO fonts and type scale

One family carries the whole interface.

AaCera ProWeights 400, 500, 700Cera Pro
headline-displayPage title (h1)LEGO37px · 700 · 1.35
headline-lgSection headings (h2)The quick brown fox jumps over the lazy dog30px · 700 · 1.35
mobile 22px
headline-mdSub-section headingsThe quick brown fox jumps over the lazy dog20px · 700 · 1.55
body-mdBody textThe quick brown fox jumps over the lazy dog16px · 400 · 1.5
body-lgLead paragraphsThe quick brown fox jumps over the lazy dog19px · 700 · 1.5
body-smSecondary and small textThe quick brown fox jumps over the lazy dog14px · 400 · 1.36 · 0.01em
captionCaptions and fine printThe quick brown fox jumps over the lazy dog12px · 400 · 1.75 · 0.01em
label-lgLarge buttons and tabsThe quick brown fox jumps over the lazy dog16px · 500 · 1.5
label-mdButtons, navigation and labelsThe quick brown fox jumps over the lazy dog14px · 500 · 1.5 · 0.01em
label-smSmall labels and badgesThe quick brown fox jumps over the lazy dog12px · 500 · 1.75 · 0.01em

Contrast

Text on #FFFFFF

AaAAA18.4:1
AaAAA21.0:1

Spacing

No strict grid · 89% are multiples of 4px

xs4px
sm8px
md16px
lg32px
xl40px
gutter12px
margin32px
container1600px

Shapes

Corner radii, most used first.

full9999px · 180×
sm4px · 28×
md8px · 12×

Depth

Box shadows from other sites

Inset

LEGO UI components

Rebuilt from the measured CSS. Buttons from other sites

Add to Bag
button-primaryFilled button
PlayStation™ Add to Wishlist
button-outlineOutlined button
Holiday
button-ghostOutlined button
Search
input-fieldInput field
Inline link
linkInline link

Motion

Interface transitions

0.3s0.2s0.24s0.16s
ease-outease

Do’s and don’ts

Rules written from the measurements, so a coding agent stays on style.

  • Use #FFFFFF for the page and lift surfaces in small steps: #FFFFFFF0, #F2F2F2.
  • Keep text in 2 levels: #141414, #000000.
  • Use #FFD400 as the brand accent: header, logo and key highlights.
  • Reuse the measured spacing steps (8px, 16px, 32px).
  • Make buttons and chips fully rounded (9999px); most other elements use 4px corners.
  • Add drop shadows for depth; use hairline rings and tonal surfaces.
  • Introduce new font families beyond Cera Pro.
  • Use #FFD400 for large backgrounds or body text.
  • Make interface transitions slower than 0.3s.
LEGO DESIGN.md218 lines

Fonts

What font does LEGO use?

LEGO uses Cera Pro (weights 400, 500 and 700) on lego.com. Page titles are 37px at weight 700 and body text is 16px. Measured on December 5, 2026.

  • AaCera Pro · 400, 500, 700
Find every font on lego.com with Font finder →

Colors

LEGO colors: palette and hex codes

LEGO’s main colors are #FFFFFF (white) for the background, #141414 (charcoal) for text and #FFD400 (vivid amber) as the main accent, with #005AD2 (blue) and #F47D20 (vivid orange) as other accents. Measured on December 5, 2026.

  • #FFFFFF whitergb(255, 255, 255) · hsl(0, 0%, 100%)
  • #141414 charcoalrgb(20, 20, 20) · hsl(0, 0%, 8%)
  • #000000 near blackrgb(0, 0, 0) · hsl(0, 0%, 0%)
  • #F2F2F2 mistrgb(242, 242, 242) · hsl(0, 0%, 95%)
  • #FFD400 vivid amberrgb(255, 212, 0) · hsl(50, 100%, 50%)
  • #005AD2 bluergb(0, 90, 210) · hsl(214, 100%, 41%)
  • #F47D20 vivid orangergb(244, 125, 32) · hsl(26, 91%, 54%)
Get lego.com’s palette as CSS or Tailwind with Colors →

Tech stack

What is LEGO built with?

LEGO’s website (lego.com) is built with Next.js, React, Astro, Preact and CSS Modules. Measured on December 5, 2026.

JavaScript framework
Next.js 16.4.6, React 19.2.4, Astro, Preact
Animation & 3D
Motion
Hosting & CDN
Cloudflare
UI & CSS
CSS Modules
Analytics
New Relic
Check lego.com live with Tech stack →

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.

Prompt · DESIGN.md attached

Build a landing page for my product. Follow for every color, font, spacing value, corner and button.

Need a page behind a login?

The DESIGN.md generator Chrome extension makes one from any page you have open, including dashboards and pages behind a login.

See the Chrome extension

FAQ

LEGO design system questions

What font does LEGO use?

LEGO’s website uses Cera Pro (weights 400, 500 and 700). Page titles are 37px at weight 700 and body text is 16px. Measured on December 5, 2026.

What are the LEGO colors and hex codes?

On lego.com: #FFFFFF (white) for the background, #141414 (charcoal) for text and #FFD400 (vivid amber) as the main accent, with #005AD2 (blue) and #F47D20 (vivid orange) as other accents. The color palette above lists all 12 colors with their hex codes and where each one is used.

What is the LEGO design system?

The design system on this page is lego.com’s, as measured on December 5, 2026: Cera Pro type, #FFD400 as the main color and pill-shaped corners, written down as a DESIGN.md. It is not LEGO’s own documentation.

What is LEGO built with?

LEGO’s website (lego.com) is built with Next.js, React, Astro, Preact and CSS Modules. The full tech stack Sitepeel found: Next.js, React, Motion, Cloudflare, Astro, Preact, CSS Modules and New Relic. Measured on December 5, 2026.

What is the LEGO DESIGN.md?

A plain-text file with LEGO’s measured colors, type, spacing, corners and components as tokens, plus short rules, in the DESIGN.md format Google published with Stitch. Your AI coding agent reads it and builds in this style. More about DESIGN.md.

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 LEGO’s official design system?

No. Sitepeel measured it from lego.com’s public page on December 5, 2026. It is an independent analysis, not made or approved by LEGO.

Can I use LEGO’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 LEGO’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.