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

The colors of uscis.gov

Recolor (recolor.page) read the home page of uscis.gov on October 8, 2026: its main color is #005288, a blue, and it paints 17 colors in 3 hue families out of 134 distinct values in its CSS, half of its text at 8.2:1 or better against what it sits on.

Measured

#005288Dark Slate Blue
#54278fRebecca Purple
#5e9732Olive Drab
#ffffffWhite
#1b1b1bMidnight Blue
From the colors of the web 2026 dataset (dataset.csv, rank 1440), measured on October 8, 2026 with scripts off; how it was measured
Measureuscis.gov
Main color#005288, a blue near darkslateblue
Five heaviest colors#ffffff #005288 #1b1b1b #646566 #edeeee
Colors in use17, 8 more than a gray; 134 distinct values in the CSS
Hue families3; blue holds 5% or more of its color
Canvas#ffffff, light
Dark mode in the CSSNo
Notationshex codes 97%, rgb() 2.1%, named colors 0.7%, hsl() under 0.1%
Colors through var()0.1% of its color declarations; 0 variables hold a color
FrameworkNone the study looks for
Text contrastMedian 8.2:1; 0% of its text under 4.5:1
Page measuredhttps://www.uscis.gov/, 778.3 KB of CSS

The palette of uscis.gov

Taken the way Recolor's Use site colours takes a page's colors, uscis.gov gives the palette #005288, #54278f, #5e9732, #ffffff and #1b1b1b: the main color first, then its background and text color, black or white for colored text. The code below holds the palette; open uscis.gov in Recolor in its own colors or try another palette on uscis.gov.

CSS variables

CSS
:root {
  --color-1: #005288;
  --color-2: #54278f;
  --color-3: #5e9732;
  --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: #005288;
  --color-2: #54278f;
  --color-3: #5e9732;
  --color-4: #ffffff;
  --color-5: #1b1b1b;
  --color-primary: #005288;
  --color-secondary: #54278f;
  --color-accent: #5e9732;
}

Text contrast on uscis.gov

All of the measured text on uscis.gov clears the AA lines of WCAG, 4.5:1 for body text and 3:1 for large text; the median is 8.2:1. On the average studied site 6% of the text fails. 18% of its text sits on a dark ground. More in Black or white text on a color.

How uscis.gov writes its colors

Its CSS writes 1,366 color values: 97% hex codes, 2.1% in rgb(), 0.7% named colors and under 0.1% in hsl(). 0.1% of its color declarations read a CSS variable through var(), and it defines 0 variables that hold a color.

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 uscis.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 uscis.gov blue?

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

Does uscis.gov use Tailwind CSS?

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

Is uscis.gov a dark site?

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

Does the text on uscis.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 8.2:1 or better.

Can I see uscis.gov in another palette?

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