Colors

The apple.com color palette

apple.com builds its pages on #ffffff with #f5f5f7 text and #0071e3 as the accent, the color of its primary buttons and links. The 8 colors below were measured from the live site.

Measured from apple.com 4 days ago.

Palette

8 colors
ColorsRoleHexRGBLight / dark
backgroundPage background#ffffffrgb(255 255 255)#000000
surfaceCards, panels, raised or recessed surfaces#f5f5f7rgb(245 245 247)#241004
surface-2Secondary surface#e2e2e5rgb(226 226 229)#171719
foregroundPrimary text#f5f5f7rgb(245 245 247)#f5f5f7
primaryCandidate accent (semantic role inferred)#0071e3rgb(0 113 227)#0071e3
on-primaryText on the accent#ffffffrgb(255 255 255)#ffffff
secondarySecondary accent (yellow)#c69851rgb(198 152 81)#3e935c
borderHairlines, dividers, input borders#0066ccrgb(0 102 204)#2997ff
Text on the page background
1.09:1 · below WCAG AA
Text on the accent
4.70:1 · passes WCAG AA

CSS variables

Every color as a custom property, named by role. The dark block is there when the site has a dark theme.

:root {
  --color-background: #ffffff;
  --color-surface: #f5f5f7;
  --color-surface-2: #e2e2e5;
  --color-foreground: #f5f5f7;
  --color-primary: #0071e3;
  --color-on-primary: #ffffff;
  --color-secondary: #c69851;
  --color-border: #0066cc;
}
​
[data-theme="dark"] {
  --color-background: #000000;
  --color-surface: #241004;
  --color-surface-2: #171719;
  --color-foreground: #f5f5f7;
  --color-primary: #0071e3;
  --color-on-primary: #ffffff;
  --color-secondary: #3e935c;
  --color-border: #2997ff;
}

For AI agents

The pack is plain text, no key: fetch DESIGN.md, or hand the whole pack to Claude Code, Cursor or Copilot with the MCP server.

curl -s https://stylepack.ai/packs/apple.com/DESIGN.md

Questions

What are the apple.com brand colors?

The main apple.com colors are #0071e3 (accent), #ffffff (background) and #f5f5f7 (text). The full palette of 8 colors, with the role of each, is on this page as hex codes.

What is the apple.com hex code?

The accent color on apple.com is #0071e3; the page background is #ffffff and the main text color #f5f5f7. Each is measured from the rendered page, so it is what visitors see, not a value from a style guide.

How do I use the apple.com colors in Tailwind or CSS?

Copy the CSS variables or the Tailwind v4 theme on this page, or download the design pack: it includes tokens.json (W3C design tokens), tokens.css and tailwind.css with the same values.