Sitepeel
Lexical website (lexical.dev) as measured on November 29, 2026

UI and animation libraries · DESIGN.md · measured November 29, 2026

Lexical design system

Lexical’s website (lexical.dev) uses the Arial font and #51A2FF as its main color on a #FAFAFA background. Measured by Sitepeel on November 29, 2026.

  • #FAFAFA
  • #FFFBEB
  • #1C1E21
  • #51A2FF
Download DESIGN.md

From lexical.dev ↗ · 133 elements at 1440×900 and 390×844 Independent analysis, not affiliated with Lexical

Lexical color palette

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

Surfaces

Snow#FAFAFAbackgroundPage background
Pale Amber#FFFBEBsurface-container-lowRaised areas one step from the page · 1×
White#FFFFFFsurface-container · --ifm-background-surface-colorCards and panels · 6×
Snow#F4F4F5surface-container-high · --color-zinc-100Hover and pressed fills · 1×
Cool Snow#EEF2FFsurface-container-highestHighest raised elements · 1×
White 60%#FFFFFF99overlayTranslucent fill for cards and controls · 1×

Text

Charcoal#1C1E21on-surface · --ifm-navbar-link-colorPrimary text and headings · 30×
Near Black#000000on-surface-strongHeadings and emphasis · 2×
Cool Graphite#3F3F46on-surface-variantSecondary text · 7×
Cool Slate#71717Bon-surface-mutedMuted text and metadata · 3×
Near Black#000000on-primaryText and icons on primary

Accents

Blue#51A2FFprimary · --ifm-color-primary-darkPrimary buttons and calls to action · 5×
Light Blue#AED4FFsecondaryAccent (CSS variable)
Deep Blue#102445tertiaryAccent (CSS variable)

Borders

Silver#D4D4D8outlineBorders and dividers · 5×
Pale Indigo#C7D2FFoutline-variantSecondary dividers · 1×

Gradients

Lexical fonts and type scale

2 families.

Aasystem-uiWeights 400, 500, 700system-ui, -apple-system, Segoe UI, Roboto
AaArialWeights 500Arial
headline-displayPage title (h1)Lexical36px · 700 · 1.11
mobile 30px
headline-lgSection headings (h2)The quick brown fox jumps over the lazy dog20px · 700 · 1.25
body-mdBody textThe quick brown fox jumps over the lazy dog14px · 400 · 1.65
body-lgLead paragraphsThe quick brown fox jumps over the lazy dog16px · 400 · 1.65
label-mdButtons, navigation and labelsThe quick brown fox jumps over the lazy dog14px · 500 · 1.43
label-smSmall labels and badgesThe quick brown fox jumps over the lazy dog12px · 500 · 1.33

Contrast

Text on #FAFAFA

AaAAA16.0:1
AaAAA20.1:1
AaAAA10.0:1
AaAA4.6:1

Spacing

No strict grid · 54% are multiples of 4px

xs4px
sm6px
md12px
lg32px
xl40px
gutter24px
section48px
margin32px

Shapes

Corner radii, most used first.

sm6px · 112×
md16px · 8×
lg32px · 4×
full9999px · 4×

Depth

Box shadows from other sites

Shadow

Lexical UI components

Rebuilt from the measured CSS. Buttons from other sites

Get Started
button-primaryFilled button · hover to see the measured hover state
Open in StackBlitz
button-outlineOutlined button · hover to see the measured hover state
Search
input-fieldInput field

Motion

Interface transitions

0.15s0.2s0.3s
cubic-bezier(0.4, 0, 0.2, 1)cubic-bezier(0.08, 0.52, 0.52, 1)

Do’s and don’ts

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

  • Use #FAFAFA for the page and lift surfaces in small steps: #FFFBEB, #FFFFFF, #F4F4F5, #EEF2FF.
  • Keep text in 4 levels: #1C1E21, #000000, #3F3F46, #71717B.
  • Reserve #51A2FF for primary actions and key highlights.
  • Reuse the measured spacing steps (6px, 12px, 32px).
  • Use 6px corners on most elements; larger surfaces also use 16px and 32px.
  • Introduce new font families beyond system-ui and Arial.
  • Use #51A2FF for large backgrounds or body text.
  • Make interface transitions slower than 0.3s.
Lexical DESIGN.md195 lines

Fonts

What font does Lexical use?

Lexical uses Arial (weight 500) on lexical.dev. Page titles are 36px at weight 700 (30px on phones) and body text is 14px. Measured on November 29, 2026.

  • Aasystem-ui · 400, 500, 700
  • AaArial · 500
Find every font on lexical.dev with Font finder →

Colors

Lexical colors: palette and hex codes

Lexical’s main colors are #FAFAFA (snow) for the background, #1C1E21 (charcoal) for text and #51A2FF (blue) as the main accent, with #AED4FF (light blue) and #102445 (deep blue) as other accents. Measured on November 29, 2026.

  • #FAFAFA snowrgb(250, 250, 250) · hsl(0, 0%, 98%)
  • #1C1E21 charcoalrgb(28, 30, 33) · hsl(216, 8%, 12%)
  • #000000 near blackrgb(0, 0, 0) · hsl(0, 0%, 0%)
  • #3F3F46 cool graphitergb(63, 63, 70) · hsl(240, 5%, 26%)
  • #71717B cool slatergb(113, 113, 123) · hsl(240, 4%, 46%)
  • #FFFBEB pale amberrgb(255, 251, 235) · hsl(48, 100%, 96%)
  • #FFFFFF whitergb(255, 255, 255) · hsl(0, 0%, 100%)
  • #F4F4F5 snowrgb(244, 244, 245) · hsl(240, 5%, 96%)
Get lexical.dev’s palette as CSS or Tailwind with Colors →

Tech stack

What is Lexical built with?

Lexical’s website (lexical.dev) is built with Docusaurus, React, Tailwind CSS and Vercel. Measured on November 29, 2026.

Hosting & CDN
Vercel
JavaScript framework
Docusaurus 3.10.2, React 19.2.5
Analytics
Vercel Speed Insights, Vercel Web Analytics, Google Analytics
UI & CSS
Tailwind CSS 4.x
Check lexical.dev 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

Lexical design system questions

What font does Lexical use?

Lexical’s website uses Arial (weight 500). Page titles are 36px at weight 700 (30px on phones) and body text is 14px. Measured on November 29, 2026.

What are the Lexical colors and hex codes?

On lexical.dev: #FAFAFA (snow) for the background, #1C1E21 (charcoal) for text and #51A2FF (blue) as the main accent, with #AED4FF (light blue) and #102445 (deep blue) as other accents. The color palette above lists all 16 colors with their hex codes and where each one is used.

What is the Lexical design system?

The design system on this page is lexical.dev’s, as measured on November 29, 2026: Arial type, #51A2FF as the main color and 6px corners, written down as a DESIGN.md. It is not Lexical’s own documentation.

What is Lexical built with?

Lexical’s website (lexical.dev) is built with Docusaurus, React, Tailwind CSS and Vercel. The full tech stack Sitepeel found: Vercel, Docusaurus, React, Vercel Speed Insights, Vercel Web Analytics, Tailwind CSS and Google Analytics. Measured on November 29, 2026.

What is the Lexical DESIGN.md?

A plain-text file with Lexical’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 Lexical’s official design system?

No. Sitepeel measured it from lexical.dev’s public page on November 29, 2026. It is an independent analysis, not made or approved by Lexical.

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