A blue site with 25 colors in use, no framework found, 99% of its text at WCAG AA

The colors of hp.com

Recolor (recolor.page) read the home page of hp.com on October 8, 2026: its main color is #007bff, a blue, and it paints 25 colors in 2 hue families out of 125 distinct values in its CSS, half of its text at 19.63:1 or better against what it sits on.

Measured

#007bffDodger Blue
#fff3e5Old Lace
#ffffffWhite
#000000Black
#1a1a1aMidnight Blue
From the colors of the web 2026 dataset (dataset.csv, rank 189), measured on October 8, 2026 with scripts off; how it was measured
Measurehp.com
Main color#007bff, a blue near dodgerblue
Five heaviest colors#ffffff #007bff #1a1a1a #000000 #165dba
Colors in use25, 14 more than a gray; 125 distinct values in the CSS
Hue families2; blue holds 5% or more of its color
Canvas#ffffff, light
Dark mode in the CSSNo
Notationshex codes 94%, rgb() 3.9%, named colors 1.7%, hsl() 0.3%
Colors through var()32% of its color declarations; 32 variables hold a color
FrameworkNone the study looks for
Text contrastMedian 19.63:1; 1.3% of its text under 4.5:1
Page measuredhttps://www.hp.com/nl-nl/home.html, 482 KB of CSS

The palette of hp.com

Taken the way Recolor's Use site colours takes a page's colors, hp.com gives the palette #007bff, #fff3e5, #ffffff, #000000 and #1a1a1a: the main color first, then its background and text color, black or white for colored text. The code below holds the palette; open hp.com in Recolor in its own colors or try another palette on hp.com.

CSS variables

CSS
:root {
  --color-1: #007bff;
  --color-2: #fff3e5;
  --color-3: #ffffff;
  --color-4: #000000;
  --color-5: #1a1a1a;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #007bff;
  --color-2: #fff3e5;
  --color-3: #ffffff;
  --color-4: #000000;
  --color-5: #1a1a1a;
  --color-primary: #007bff;
  --color-secondary: #fff3e5;
  --color-accent: #ffffff;
}

Text contrast on hp.com

The median contrast of the text on hp.com is 19.63:1, and 1.3% of it fails WCAG AA: 1.3% is under 4.5:1 and 1.3% under 3:1. On the average studied site 6% of the text fails. 39% of its text sits on a dark ground. To pick a readable ink for a background, see Black or white text on a color.

How hp.com writes its colors

The 1,029 color values in its CSS are written as hex codes (94%), rgb() (3.9%), named colors (1.7%) and hsl() (0.3%). Through var(), 32% of its color declarations take their color from a CSS variable; 32 variables hold one.

No framework the study knows by its variables shows in its CSS, neither Tailwind CSS and Bootstrap nor a site builder's. No dark mode shows in its CSS; 41% of the studied sites declare one.

Sites with a similar main color

The blue sites nearest hp.com in the lightness of their main color. The blue page lists all 490; colors that go with blue counts the hues beside it.

Common questions

Is the main color of hp.com blue?

Yes. Its main color is #007bff, a blue near the CSS color dodgerblue, as on 49% of the 1,000 sites the study read.

Does hp.com use Tailwind CSS?

No. Its CSS carries none of Tailwind CSS's variables, nor those of another framework the study looks for.

Is hp.com a dark site?

No. The color behind its home page is #ffffff, a light canvas.

Does the text on hp.com pass WCAG AA?

No. 1.3% of its text fails AA, though half of it reads at 19.63:1 or better.

Can I see hp.com in another palette?

Yes. Load hp.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