A blue site with 20 colors in use, no framework found, all of its text at WCAG AA

The colors of usa.gov

The main color of usa.gov is #1a4480, a blue, and its home page uses 20 colors, 11 of them more than a gray, in 4 hue families. Recolor (recolor.page) read the page on October 8, 2026 for the colors of the web study: 485 distinct color values in 869.1 KB of CSS, half of its text at 17.22:1 or better against what it sits on.

Measured

#1a4480Dark Slate Blue
#00bde3Deep Sky Blue
#c05600Chocolate
#ffffffWhite
#1b1b1bMidnight Blue
From the colors of the web 2026 dataset (dataset.csv, rank 851), measured on October 8, 2026 with scripts off; how it was measured
Measureusa.gov
Main color#1a4480, a blue near darkslateblue
Five heaviest colors#ffffff #1b1b1b #ccecf2 #1a4480 #f0f0f0
Colors in use20, 11 more than a gray; 485 distinct values in the CSS
Hue families4; blue and cyan hold 5% or more of its color
Canvas#ffffff, light
Dark mode in the CSSNo
Notationshex codes 96%, rgb() 3.6%, named colors under 0.1%
Colors through var()0% of its color declarations; 0 variables hold a color
FrameworkNone the study looks for
Text contrastMedian 17.22:1; 0% of its text under 4.5:1
Page measuredhttps://www.usa.gov/, 869.1 KB of CSS

The palette of usa.gov

Recolor reads a page's colors as its Use site colours button does: each hue family's main color in rank order, then its background and text color, black or white for colored text, then grays. For usa.gov that is #1a4480, #00bde3, #c05600, #ffffff and #1b1b1b. Open usa.gov in Recolor in its own colors, or try another palette on usa.gov.

CSS variables

CSS
:root {
  --color-1: #1a4480;
  --color-2: #00bde3;
  --color-3: #c05600;
  --color-4: #ffffff;
  --color-5: #1b1b1b;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #1a4480;
  --color-2: #00bde3;
  --color-3: #c05600;
  --color-4: #ffffff;
  --color-5: #1b1b1b;
  --color-primary: #1a4480;
  --color-secondary: #00bde3;
  --color-accent: #c05600;
}

Text contrast on usa.gov

Half of the text on usa.gov reads at 17.22:1 or better against what it sits on, and all of it reaches WCAG AA: 4.5:1 for body text, 3:1 for large text. On the average studied site 6% of the text fails. 14% of its text sits on a dark ground. Black or white text on a color shows how such contrast is chosen.

How usa.gov writes its colors

Its CSS writes 5,792 color values: 96% hex codes, 3.6% in rgb() and under 0.1% named colors. None of its color declarations reads a CSS variable.

The study found none of the frameworks it looks for in its CSS: no Tailwind CSS, Bootstrap, WordPress or site builder variables. It declares no dark mode in its CSS, as 59% of the studied sites do not.

Sites with a similar main color

Other blue sites whose main color is about as light as usa.gov's. All 490 are on the blue page, and colors that go with blue shows what they pair it with.

Common questions

Is the main color of usa.gov blue?

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

Does usa.gov use Tailwind CSS?

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

Is usa.gov a dark site?

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

Does the text on usa.gov 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 17.22:1 or better.

Can I see usa.gov in another palette?

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

Sources