Skip to content
#FFFFFF
#4285F4
#EA4335
#34A853
Background
Large text / UI
Large text / UI
Large text / UI

Google Primary Color Palette

#FFFFFF · #4285F4 · #EA4335 · #34A853

Fail
WCAG Grade
3.05:1
Contrast Ratio
AI Prompt

Use #FFFFFF as the background. Use #4285F4 as the primary accent. Use #EA4335 as secondary. Use #34A853 as body text/supporting color. Palette mood: Google Primary — cool, warm, vibrant.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Google Primary color scheme. Use these values for web design (HEX/RGB), print projects (CMYK), or specialized design software (HSL).

Swatch Design Role HEX RGB CMYK HSL
Background
Luminance: 100.0%
255, 255, 255 0%, 0%, 0%, 0% 0°, 0%, 100%
Large text / UI
Luminance: 24.5%
66, 133, 244 73%, 45%, 0%, 4% 217°, 89%, 61%
Large text / UI
Luminance: 21.8%
234, 67, 53 0%, 71%, 77%, 8% 5°, 81%, 56%
Large text / UI
Luminance: 29.4%
52, 168, 83 69%, 0%, 51%, 34% 136°, 53%, 43%

Google Primary Tints & Shades

Hover states, borders and elevation need lighter and darker steps of your base colors. Here are computed tints and shades for every color in the Google Primary palette — click any swatch to copy its hex.

#FFFFFF neutral gray
#4285F4 saturated blue
#EA4335 saturated red
#34A853 gently saturated green

Google Primary Palette Contrast Matrix (WCAG 2.1)

Every color tested as text on every other color as background. Body copy needs 4.5:1 (AA), large text and UI components 3:1. AAA requires 7:1.

Text on Background Preview Ratio Grade Safe For
#EA4335 on #FFFFFF
Aa Sample Text
3.92:1 Fail Large headings, UI components
#FFFFFF on #EA4335
Aa Sample Text
3.92:1 Fail Large headings, UI components
#4285F4 on #FFFFFF
Aa Sample Text
3.56:1 Fail Large headings, UI components
#FFFFFF on #4285F4
Aa Sample Text
3.56:1 Fail Large headings, UI components
#34A853 on #FFFFFF
Aa Sample Text
3.05:1 Fail Large headings, UI components
#FFFFFF on #34A853
Aa Sample Text
3.05:1 Fail Large headings, UI components
#34A853 on #EA4335
Aa Sample Text
1.28:1 Fail Decorative use only
#EA4335 on #34A853
Aa Sample Text
1.28:1 Fail Decorative use only
#34A853 on #4285F4
Aa Sample Text
1.16:1 Fail Decorative use only
#4285F4 on #34A853
Aa Sample Text
1.16:1 Fail Decorative use only
#EA4335 on #4285F4
Aa Sample Text
1.10:1 Fail Decorative use only
#4285F4 on #EA4335
Aa Sample Text
1.10:1 Fail Decorative use only

Palette Details

Google's four-color system is one of the most recognized in history. It signals openness, accessibility, and playfulness through primary colors treated with restraint.

Color Harmony: No Single Classic Rule

Three hue groups at 5°, 136°, 217°, spaced 81°, 131° and 148° apart — that spacing does not match a triadic or split-complementary layout.

Hue Wheel

Because the hue spacing is irregular, choose roles by measured contrast rather than by hue relationship.

History & Design Context

Google chose primary colors in 1999 to signal that search was for everyone. The white base keeps it approachable and fast-loading.

Best Design Use Cases

Use white as your dominant surface. Blue drives all interactive elements. Red and green used sparingly for alerts and confirmations.

Measured best pair: #EA4335 on #FFFFFF at 3.92:1 (Fail). No pair reaches 4.5:1, so use this pair for large text and UI only; this palette has no body-safe text pair.

Industries This Palette Suits

Startups & SaaS, Retail & E-commerce, Food & Beverage, Fashion, Agencies & Services, Non-profits.

Colors That Pair Well With Google Primary

Need a fifth color? These three companions are computed from the palette's own hue positions on the color wheel, so they extend the scheme without breaking its harmony.

orange

directly opposite #4285F4 on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

blue

30° beside #4285F4 — a calm secondary that extends the palette without adding tension

tinted neutral

an ink-black carrying the palette's own hue — perfect for surfaces and dividers

Using Google Primary Without Breaking Accessibility

  • Use #4285F4 for buttons and links — it scores 3.56:1 against the #FFFFFF background (above the 3:1 UI-components threshold).
  • Don't set body copy in #34A853 on #FFFFFF — 3.05:1 fails WCAG AA; keep it for large decorative headings only.
  • Don't use #EA4335 behind body text — this light tone works better for surfaces, badges and dividers than for reading areas.

How to Implement the Google Primary Color Scheme

To use this Google Primary color palette in your web project, copy the CSS variables below or open the export panel for Tailwind, SCSS and Figma formats.

Option 1: CSS Variables

:root {
  /* Google Primary — ihatecolors */
  --color-bg: #FFFFFF;
  --color-accent: #4285F4;
  --color-secondary: #EA4335;
  --color-text: #34A853;
}

Web Design Tip

Use #FFFFFF as the page background and #4285F4 for buttons and large UI — they measure 3.56:1, which clears the 3:1 UI threshold but not 4.5:1, so keep small text out of this pair.

Accessibility Note

#34A853 on #FFFFFF measures 3.05:1 — enough for large text and UI components (3:1) but below the 4.5:1 needed for body copy.

Google Primary Palette — Frequently Asked Questions

What are the hex codes in the Google Primary color palette?

The Google Primary palette contains #FFFFFF, #4285F4, #EA4335, #34A853. Click any swatch on this page to copy its value, or export all four at once as CSS variables, Tailwind config, SCSS or a Figma-ready list.

Is the Google Primary color palette accessible (WCAG)?

For large text and UI components only. #EA4335 on #FFFFFF reaches 3.92:1, which clears the 3:1 threshold for large text and UI but not the 4.5:1 needed for body copy. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.

What colors go well with the Google Primary palette?

Beyond its own four colors, #F4B043, #5F4DEA, #151414 extend it naturally: the complementary hue for high-energy accents, an analogous neighbor for calm transitions, and a tinted neutral for surfaces. All three are computed from this palette's hues on the color wheel.

What mood does the Google Primary palette create?

Google Primary reads as cool, warm, vibrant. Saturated blue drives the personality, grounded by neutral gray — a combination that works best when the very light base gets most of the canvas.

Can I use the Google Primary color palette commercially?

Yes. Individual color values can't be copyrighted, so the Google Primary palette is free for personal, client and commercial work — websites, branding, apps, print and social content, with no attribution required.

How do I add the Google Primary palette to Tailwind or CSS?

Use the export panel on this page: CSS variables, a Tailwind config block, SCSS variables, or a Figma copy list are generated from Google Primary's exact values, including the tint and shade ramps shown above.

Live Preview
Generate Similar ✦