DESIGN.md · Analysis

Google Search

google.com · 4 Sept 2026 · 47 colors · Google Sans, Roboto, sans-serif, Roboto, sans-serif

Google Search

Google's iconic search interface: a minimalist, utility-first design that prioritizes clarity and speed. The brand aesthetic is 'Functional Minimalism'—every pixel serves the user's intent to search.

Colors

surface#ffffff
surface-dim#f8f9fa
surface-bright#ffffff
surface-container-lowest#ffffff
surface-container-low#f8f9fa
surface-container#f3f5f6
surface-container-high#f1f3f4
surface-container-highest#e8eaed
on-surface#1f1f1f
on-surface-variant#5f6368
inverse-surface#202124
inverse-on-surface#f8f9fa
outline#dadce0
outline-variant#d2d2d2
surface-tint#0b57d0
primary#0b57d0
on-primary#ffffff
primary-container#d2e3fc
on-primary-container#001d35
inverse-primary#a8c7fa
secondary#1a73e8
on-secondary#ffffff
secondary-container#c2e7ff
on-secondary-container#001d35
tertiary#1a0dab
on-tertiary#ffffff
tertiary-container#e8defc
on-tertiary-container#2d0052
error#d33b27
on-error#ffffff
error-container#f9dedc
on-error-container#410e0b
primary-fixed#d2e3fc
primary-fixed-dim#a8c7fa
on-primary-fixed#001d35
on-primary-fixed-variant#0b57d0
secondary-fixed#c2e7ff
secondary-fixed-dim#a3c9ff
on-secondary-fixed#001d35
on-secondary-fixed-variant#1a73e8
tertiary-fixed#e8defc
tertiary-fixed-dim#d0bcff
on-tertiary-fixed#2d0052
on-tertiary-fixed-variant#1a0dab
background#ffffff
on-background#1f1f1f
surface-variant#f3f5f6

Typography

display
fontFamily: Google Sans, Roboto, sans-serif · fontSize: 56px · fontWeight: 400 · lineHeight: 64px · letterSpacing: -0.02em
headline-lg
fontFamily: Google Sans, Roboto, sans-serif · fontSize: 32px · fontWeight: 400 · lineHeight: 40px · letterSpacing: 0em
headline-md
fontFamily: Google Sans, Roboto, sans-serif · fontSize: 24px · fontWeight: 400 · lineHeight: 32px · letterSpacing: 0em
title-lg
fontFamily: Google Sans, Roboto, sans-serif · fontSize: 20px · fontWeight: 500 · lineHeight: 28px · letterSpacing: 0.01em
body-lg
fontFamily: Roboto, sans-serif · fontSize: 18px · fontWeight: 400 · lineHeight: 28px · letterSpacing: 0.02em
body-md
fontFamily: Roboto, sans-serif · fontSize: 14px · fontWeight: 400 · lineHeight: 20px · letterSpacing: 0.02em
label-md
fontFamily: Google Sans, Roboto, sans-serif · fontSize: 14px · fontWeight: 500 · lineHeight: 20px · letterSpacing: 0.01em
label-sm
fontFamily: Google Sans, Roboto, sans-serif · fontSize: 12px · fontWeight: 500 · lineHeight: 16px · letterSpacing: 0.04em

Design guidance

Overview

Google Search is the world's most-used search interface, built on the principle of 'Functional Minimalism'—a design philosophy that eliminates visual noise to maximize user focus and task completion speed. The brand serves billions of users seeking information, and the interface reflects this universal mandate through radical simplicity: a white canvas, a centered search box, and two action buttons. The emotional response is one of clarity and trust—the interface gets out of the way and lets the search results speak. The visual language is deliberately austere, using only the essential: Google's signature four-color logo (blue #0b57d0, red #ea4335, yellow #fbbc04, green #34a853), a single accent blue for interactive elements, and neutral grays for secondary information. Voice: direct, helpful, never presumptuous. Example: 'Search the world's information, including webpages, images, videos, and more.'

Colors

Google Search employs a deliberately constrained palette anchored in white (#ffffff) and neutral grays, with a single dominant accent: Primary Blue (#0b57d0). This blue is reserved exclusively for the most important interactive elements—the 'Sign in' button, active links, and focus states—making it the visual anchor that draws the user's eye to action. Secondary colors are used sparingly: visited links appear in purple (#681da8), and the logo uses red (#ea4335), yellow (#fbbc04), and green (#34a853) to create brand recognition without competing with the search interface itself. The surface stack is minimal: the main surface is pure white (#ffffff), with subtle container variants (surface-container-low at #f8f9fa, surface-container at #f3f5f6) used only for hover states and secondary contai

Typography

The type system balances Google Sans (a proprietary sans-serif used for headlines and UI labels) with Roboto (Google's open-source sans-serif for body text). Google Sans is used at weights 400–700 for headlines, buttons, and labels, conveying a modern, approachable brand voice. Roboto is used at weight 400 for body text and secondary information, ensuring legibility at small sizes (14px is the default body size). The display level (56px, weight 400) is reserved for the Google logo and major page titles. Headline-lg (32px, weight 400) is used for section titles. Body-md (14px, weight 400) is the default for all body copy, search results, and secondary information. Label-md (14px, weight 500) is used for button text and UI labels, with slightly increased weight to ensure clickability. Letter

Layout

Google Search uses a centered, fixed-width layout with a maximum container width of 1420px, ensuring the interface remains scannable on all screen sizes. The grid is 12 columns with 16px gutters, providing a flexible foundation for responsive design. The hero section (logo + search box + buttons) is vertically centered in the viewport, using CSS flexbox with justify-content: center and align-items: center. The search box itself is 640px wide on desktop, with 12px padding on top/bottom and 16px on left/right, creating a comfortable target area. Spacing follows a semantic scale: 8px (xs), 16px (sm/gutter), 24px (lg), and 32px (xl). Section separation uses lg spacing (24px) between major content blocks. The footer uses a horizontal flex layout with 16px gaps between link groups, aligned to th

Elevation & Depth

Google Search uses minimal elevation, relying instead on subtle shadows and borders to create visual hierarchy. The search input box has a 1px solid border (#dadce0) in its default state, and a box-shadow of 0 1px 6px rgba(32, 33, 36, 0.08) to lift it slightly from the background. On focus, the shadow intensifies to 0 1px 6px rgba(32, 33, 36, 0.28) and the border becomes primary blue (#0b57d0), signaling active interaction. Cards and containers use a consistent shadow of 0 2px 10px rgba(0, 0, 0, 0.2) to create a single, unified elevation level. Hover states on buttons and links do not use shad

Shapes

Google Search embraces 'Geometric Clarity'—a shape philosophy that uses sharp corners for most UI elements and full-radius (border-radius: 9999px) only for the primary search input and buttons. This creates a visual distinction: the search box and CTAs are the 'soft' elements that invite interaction, while cards, containers, and secondary UI use 8px border-radius for a clean, modern look. Buttons use border-radius: 9999px (full pill shape) to maximize affordance and make them unmistakably clickable. The search input also uses 9999px to create a unified, cohesive hero section. Secondary buttons

Components

Action Elements Buttons in Google Search are minimal and high-contrast. The primary button ('Sign in') uses background-color: #0b57d0, color: #ffffff, font-weight: 500, border-radius: 9999px, padding: 10px 24px, and min-height: 40px. On hover, the background darkens to #0a45b8 with a transition: background-color 200ms ease-out. On active/pressed, the background becomes #093ba3. The button uses font-family: 'Google Sans Text', Roboto, sans-serif to ensure brand consistency. Secondary buttons are transparent with a 1px border (#dadce0), text-color: #1f1f1f, and the same padding. On hover, secondary buttons gain a background-color: #f1f3f4 (surface-container-high) with the same 200ms transition. Links use color: #1a73e8 (secondary blue) with text-decoration: none by default. On hover, lin

Do's and Don'ts

**Do**

  • Do use primary blue (#0b57d0) exclusively for the most important interactive elements—buttons, active links, and focus states—to create unambiguous affordance.
  • Do maintain generous white-space around the search box and hero section; negative space is a design tool, not wasted real estate.
  • Do use Google Sans for headlines, buttons, and labels; use Roboto for body text and secondary information to maintain brand consistency.
  • Do apply smooth transitions (200ms ease-out) to all interactive state changes (hover, focus, active) to provide tactile feedback without jarring the user.
  • Do use 8px border-radius for cards and containers, and 9999px (full pill) for buttons and the search input to create a visual hierarchy of shapes.

**Don't**

  • Don't use multiple accent colors or gradients; the interface should feel minimal and focused, not decorative.
  • Don't add shadows deeper than 0 2px 10px rgba(0, 0, 0, 0.2); Google Search relies on flatness and subtle depth cues, not layered elevation.
  • Don't use sans-serif fonts other than Google Sans and Roboto; consistency in typography is essential to the brand voice.
  • Don't add animations or transitions longer than 300ms; the interface should feel responsive and snappy, not sluggish.
  • Don't use visited link colors (#681da8) for any other UI element; it should be reserved exclusively for indicating previously-clicked links.