A blue site with 27 colors in use, built with Tailwind CSS, all of its text at WCAG AA

The colors of salesforce.com

On salesforce.com, #066afe leads: a blue main color among 27 colors in use, 20 of them more than a gray. Recolor (recolor.page) measured the home page on October 8, 2026 for its study of the colors of the web, reading 270 distinct color values in 880.3 KB of CSS, half of its text at 15.71:1 or better against what it sits on.

Measured

#066afeRoyal Blue
#7526e3Blue Violet
#031610Black
#ffffffWhite
#181818Midnight Blue
From the colors of the web 2026 dataset (dataset.csv, rank 344), measured on October 8, 2026 with scripts off; how it was measured
Measuresalesforce.com
Main color#066afe, a blue near royalblue
Five heaviest colors#ffffff #032d60 #b0c4df #0176d3 #0b5cab
Colors in use27, 20 more than a gray; 270 distinct values in the CSS
Hue families3; blue, violet and teal hold 5% or more of its color
Canvas#ffffff, light
Dark mode in the CSSYes: a dark theme's class or attribute
Notationshex codes 88%, rgb() 6.6%, hsl() 5%, named colors 0.3%
Colors through var()71% of its color declarations; 372 variables hold a color
FrameworkTailwind CSS
Text contrastMedian 15.71:1; 0% of its text under 4.5:1
Page measuredhttps://www.salesforce.com/nl/?ir=1&bc=DB, 880.3 KB of CSS

The palette of salesforce.com

As a palette, salesforce.com is #066afe, #7526e3, #031610, #ffffff and #181818: its hue families' main colors first, in the order Recolor ranks them, then its background and text color (black or white for colored text), then its grays. Open salesforce.com in Recolor in its own colors and press Space to see it in others, or start from a new palette.

CSS variables

CSS
:root {
  --color-1: #066afe;
  --color-2: #7526e3;
  --color-3: #031610;
  --color-4: #ffffff;
  --color-5: #181818;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #066afe;
  --color-2: #7526e3;
  --color-3: #031610;
  --color-4: #ffffff;
  --color-5: #181818;
  --color-primary: #066afe;
  --color-secondary: #7526e3;
  --color-accent: #031610;
}

Text contrast on salesforce.com

Every piece of text the study read on salesforce.com passes WCAG AA, with half of it at 15.71:1 or better. On the average studied site 6% of the text fails. 3.7% of its text sits on a dark ground. Black or white text on a color explains the 4.5:1 and 3:1 lines.

How salesforce.com writes its colors

Its CSS writes 1,160 color values: 88% hex codes, 6.6% in rgb(), 5% in hsl() and 0.3% named colors. 71% of its color declarations read a CSS variable through var(), and it defines 372 variables that hold a color. It also mixes colors with color-mix() 5 times.

Its CSS carries Tailwind CSS's variables (one of 201 Tailwind CSS sites). It declares a dark mode, through a dark theme's class or attribute, like 406 sites of the 1,000.

Sites with a similar main color

Other blue sites whose main color is about as light as salesforce.com's. All 490 are on the blue page, and colors that go with blue shows what they pair it with. salesforce.com is also listed under Tailwind CSS sites and sites with a dark mode.

Common questions

Is the main color of salesforce.com blue?

Yes. Its main color is #066afe, a blue near the CSS color royalblue, as on 49% of the 1,000 sites the study read.

Does salesforce.com use Tailwind CSS?

Yes. Its CSS carries Tailwind CSS's variables, like 201 of the 1,000 sites the study read.

Is salesforce.com a dark site?

No. The color behind its home page is #ffffff, a light canvas, though its CSS declares a dark mode for readers who ask for one.

Does the text on salesforce.com pass WCAG AA?

Yes. All of the text the study measured reaches 4.5:1 against what it sits on, or 3:1 where it is large; half of it reads at 15.71:1 or better.

Can I see salesforce.com in another palette?

Yes. Load salesforce.com in Recolor and press Space: the page repaints in a new palette, live. Its own palette opens it close to how it looks.

Sources