HootsuiteBrand
DESIGN.md · measured October 21, 2026
Grammarly design system
Light interface measured from grammarly.com: matter type with Matter, dark teal accents, tonal surfaces and 6px corners.
- Background
- #FFFFFF
- Primary
- #027E6F
- Type
- matter
- Corners
- 6px
From grammarly.com ↗ · 367 elements at 1440×900 and 390×844 · Independent analysis, not affiliated with Grammarly
Grammarly colors
15 roles measured on the page, grouped by where each color is used.
Surfaces
#FFFFFFbackground · --button-ghost-shortcut-text-activePage background · 17×#F5F5F5surface-container-low · --origin-color-spot-illustration-fill-secondaryRaised areas one step from the page · 1×#1C1C1Cinverse-surface · --button-pro-background-activeHigh-contrast fills · 1×Text
#1F243Con-surfacePrimary text and headings · 71×#000000on-surface-strongHeadings and emphasis · 10×#0E101Aon-surface-variantSecondary text · 9×#2E2E2Eon-surface-muted · --origin-color-fill-base-inverseMuted text and metadata · 12×#FFFFFFon-primaryText and icons on primaryAccents
#027E6Fprimary · --green-60Primary buttons and calls to action · 18×#4285F4secondaryAccent · 1×Borders
#EBEBEBoutlineBorders and dividers · 5×#C6CBDEoutline-variantSecondary dividers · 1×Status
#34A853successSuccess and positive states · 1×#FBBC05warningWarnings and highlights · 1×#EB4335errorErrors and destructive states · 1×Grammarly fonts
3 families.
mobile 34px
mobile 30px
mobile 28px
Contrast
Text on #FFFFFF
15.3:121.0:119.0:113.6:1Spacing
4px grid · 98% of values fit
xs4pxsm8pxmd16pxlg24pxxl50pxgutter8pxmargin48pxShapes
Corner radii, most used first.
Depth
Flat: no shadows measured.
Components
Rebuilt from the measured CSS.
Motion
Interface transitions
0.3s0.2sease-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: #F5F5F5.
- Keep text in 4 levels: #1F243C, #000000, #0E101A, #2E2E2E.
- Reserve #027E6F for primary actions and key highlights.
- Set headlines in matter with tight tracking (-0.01em).
- Keep spacing on the 4px grid.
- Use 6px corners on most elements; larger surfaces also use 8px and 4px.
- Add drop shadows for depth; use tonal surfaces.
- Introduce new font families beyond matter, Matter and system-ui.
- Use #027E6F for large backgrounds or body text.
- Make interface transitions slower than 0.3s.
---
version: alpha
name: Grammarly
description: "Light interface measured from grammarly.com: matter type with Matter, dark teal accents, tonal surfaces and 6px corners."
colors:
background: "#FFFFFF"
surface: "#FFFFFF"
on-surface: "#1F243C"
on-background: "#1F243C"
on-surface-strong: "#000000"
on-surface-variant: "#0E101A"
on-surface-muted: "#2E2E2E"
surface-container-low: "#F5F5F5"
outline: "#EBEBEB"
outline-variant: "#C6CBDE"
primary: "#027E6F"
on-primary: "#FFFFFF"
inverse-surface: "#1C1C1C"
secondary: "#4285F4"
success: "#34A853"
warning: "#FBBC05"
error: "#EB4335"
typography:
display-hero:
fontFamily: matter
fontSize: 52px
fontWeight: 670
lineHeight: 1.12
letterSpacing: -0.01em
headline-display:
fontFamily: matter
fontSize: 46px
fontWeight: 670
lineHeight: 1.09
letterSpacing: -0.01em
headline-lg:
fontFamily: matter
fontSize: 36px
fontWeight: 670
lineHeight: 1.11
letterSpacing: -0.01em
headline-md:
fontFamily: Matter
fontSize: 20px
fontWeight: 600
lineHeight: 1.2
body-md:
fontFamily: system-ui
fontSize: 14px
fontWeight: 400
body-lg:
fontFamily: system-ui
fontSize: 16px
fontWeight: 400
body-sm:
fontFamily: system-ui
fontSize: 12px
fontWeight: 400
label-md:
fontFamily: system-ui
fontSize: 14px
fontWeight: 700
headline-display-mobile:
fontFamily: matter
fontSize: 30px
fontWeight: 670
lineHeight: 1.13
letterSpacing: -0.01em
headline-lg-mobile:
fontFamily: matter
fontSize: 28px
fontWeight: 670
lineHeight: 1.14
letterSpacing: -0.01em
display-hero-mobile:
fontFamily: matter
fontSize: 34px
fontWeight: 670
lineHeight: 1.12
letterSpacing: -0.01em
rounded:
sm: 4px
md: 6px
lg: 8px
full: 9999px
spacing:
base: 4px
xs: 4px
sm: 8px
md: 16px
lg: 24px
xl: 50px
gutter: 8px
margin: 48px
components:
button-primary:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
typography: "{typography.body-md}"
rounded: "{rounded.md}"
padding: 0px 8px
height: 34px
button-primary-hover:
backgroundColor: "#014C43"
button-outline:
backgroundColor: "{colors.background}"
textColor: "#4D536E"
rounded: "{rounded.md}"
padding: 8px 16px
height: 60px
button-ghost:
backgroundColor: "{colors.surface-container-low}"
textColor: "#545454"
typography: "{typography.body-md}"
padding: 0px
height: 48px
card:
backgroundColor: "{colors.background}"
textColor: "{colors.on-surface-strong}"
rounded: "{rounded.lg}"
padding: 0px
link:
textColor: "{colors.on-surface}"
---
# Grammarly Design System
## Overview
Grammarly describes itself as: “Grammarly makes AI writing convenient. Work smarter with personalized AI guidance and text generation on any app or website.” The interface is light, built on **White (#FFFFFF)** with **Deep Indigo (#1F243C)** text, and **Dark Teal (#027E6F)** as the main accent.
Type is set in **matter** and **Matter**. Headlines run large with tight negative tracking; body text is 14px. The surface language is flat. Corners are mostly 6px.
Measured from [grammarly.com](https://www.grammarly.com/) on October 21, 2026 at 1440×900 and 390×844 from 367 rendered elements. Values are computed styles from the live page, not the original source files.
## Colors
The palette has 15 roles.
- **White (#FFFFFF):** Page background, seen 17 times. Token `background`, CSS `--button-ghost-shortcut-text-active`.
- **Deep Indigo (#1F243C):** Primary text and headings, seen 71 times. Token `on-surface`.
- **Near Black (#000000):** Headings and emphasis, seen 10 times. Token `on-surface-strong`.
- **Cool Charcoal (#0E101A):** Secondary text, seen 9 times. Token `on-surface-variant`.
- **Graphite (#2E2E2E):** Muted text and metadata, seen 12 times. Token `on-surface-muted`, CSS `--origin-color-fill-base-inverse`.
- **Snow (#F5F5F5):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`, CSS `--origin-color-spot-illustration-fill-secondary`.
- **Mist (#EBEBEB):** Borders and dividers, seen 5 times. Token `outline`.
- **Light Blue (#C6CBDE):** Secondary dividers, seen 1 time. Token `outline-variant`.
- **Dark Teal (#027E6F):** Primary buttons and calls to action, seen 18 times. Token `primary`, CSS `--green-60`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Charcoal (#1C1C1C):** High-contrast fills, seen 1 time. Token `inverse-surface`, CSS `--button-pro-background-active`.
- **Vivid Blue (#4285F4):** Accent, seen 1 time. Token `secondary`.
- **Green (#34A853):** Success and positive states, seen 1 time. Token `success`.
- **Vivid Amber (#FBBC05):** Warnings and highlights, seen 1 time. Token `warning`.
- **Vivid Red (#EB4335):** Errors and destructive states, seen 1 time. Token `error`.
## Typography
**matter**, **Matter** and **system-ui** share the interface. Fallback stack: `matter, sans-serif`. Other loaded fonts: Glyph.
- **display-hero:** matter 52px at weight 670, line height 1.12, tracking -0.01em (34px on mobile). Oversized hero statements.
- **headline-display:** matter 46px at weight 670, line height 1.09, tracking -0.01em (30px on mobile). Page title (h1).
- **headline-lg:** matter 36px at weight 670, line height 1.11, tracking -0.01em (28px on mobile). Section headings (h2).
- **headline-md:** Matter 20px at weight 600, line height 1.2. Sub-section headings.
- **body-md:** system-ui 14px at weight 400. Body text.
- **body-lg:** system-ui 16px at weight 400. Lead paragraphs.
- **body-sm:** system-ui 12px at weight 400. Secondary and small text.
- **label-md:** system-ui 14px at weight 700. Buttons, navigation and labels.
## Layout
Spacing follows a 4px grid: 98% of measured gaps and paddings are multiples of 4px.
- **Scale:** xs 4px, sm 8px, md 16px, lg 24px, xl 50px.
- **Gaps:** 8px is the most common gap in flex and grid layouts.
- **Page margin:** 48px on each side of full-width sections.
## Elevation & Depth
The design is flat: no shadows were measured. Hierarchy comes from tonal surface steps (#F5F5F5) and #EBEBEB borders.
## Shapes
Most elements use 6px corners. Measured radii, most used first:
- **md (6px):** 48 elements.
- **lg (8px):** 48 elements.
- **sm (4px):** 28 elements.
- **full (9999px):** 12 elements.
## Components
Measured from the rendered page. Token values reference the tokens above.
- **button-primary (“Sign Up It’s free”):** #027E6F fill, #FFFFFF text, 14px/400, 6px radius, padding 0px 8px.
- **button-primary-hover:** background #014C43, text #FFFFFF on hover.
- **button-outline (“Sign up with Google”):** #FFFFFF fill, #4D536E text, 13.3333px/400, 6px radius, padding 8px 16px, border 1px solid #6D758D.
- **button-ghost (“Next”):** #F5F5F5 fill, #545454 text, 14px/400, 50% radius, padding 0px, border 1px solid #545454.
- **card:** #FFFFFF fill, #000000 text, 13.3333px/400, 8px radius, padding 0px, border 1px solid #EBEBEB.
- **link:** transparent fill, #1F243C text, padding 0px.
## Do's and Don'ts
- Do use #FFFFFF for the page and lift surfaces in small steps: #F5F5F5.
- Do keep text in 4 levels: #1F243C, #000000, #0E101A, #2E2E2E.
- Do reserve #027E6F for primary actions and key highlights.
- Do set headlines in matter with tight tracking (-0.01em).
- Do keep spacing on the 4px grid.
- Do use 6px corners on most elements; larger surfaces also use 8px and 4px.
- Don't add drop shadows for depth; use tonal surfaces.
- Don't introduce new font families beyond matter, Matter and system-ui.
- Don't use #027E6F for large backgrounds or body text.
- Don't make interface transitions slower than 0.3s.
## Motion
Interface transitions are quick: 0.3s, 0.2s.
- **Easing:** `ease-out`, `ease`.
Generated by [Sitepeel](https://sitepeel.dev/design-md/grammarly.com/), the free DESIGN.md generator.
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.
Build a landing page for my product. Follow for every color, font, spacing value, corner and button.
Need more than one page?
Design MD in the Sitepeel tools for Chrome measures pages behind a login, combines several pages into one file and works on any site you open.
More designs
See all →FAQ
Questions
What can I build with the Grammarly DESIGN.md?
Any page or component in this style: a landing page, pricing table, dashboard or sign-up form. Your AI coding agent uses the measured colors, matter type, spacing, corners and buttons instead of its own defaults.
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 Grammarly’s official design system?
No. Sitepeel measured it from grammarly.com’s public page on October 21, 2026. It is an independent analysis, not made or approved by Grammarly.
Can I use Grammarly’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 Grammarly’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.




