A blue site with 32 colors in use, built with Bootstrap 5, 99.9% of its text at WCAG AA
The colors of uspto.gov
Recolor (recolor.page) read the home page of uspto.gov on October 8, 2026: its main color is #005ea2, a blue, and it paints 32 colors in 6 hue families out of 351 distinct values in its CSS, half of its text at 17.22:1 or better against what it sits on.
Measured
| Measure | uspto.gov |
|---|---|
| Main color | #005ea2, a blue near darkslateblue |
| Five heaviest colors | #ffffff #162e51 #f0f0f0 #005ea2 #1a4480 |
| Colors in use | 32, 21 more than a gray; 351 distinct values in the CSS |
| Hue families | 6; blue, red and cyan hold 5% or more of its color |
| Canvas | #ffffff, light |
| Dark mode in the CSS | Yes: a dark theme's class or attribute |
| Notations | hex codes 88%, rgb() 10%, bare channels in a variable 1.4%, named colors 0.4%, hsl() under 0.1% |
Colors through var() | 14% of its color declarations; 176 variables hold a color |
| Framework | Bootstrap 5 |
| Text contrast | Median 17.22:1; under 0.1% of its text under 4.5:1 |
| Page measured | https://www.uspto.gov/, 1313.4 KB of CSS |
The palette of uspto.gov
Taken the way Recolor's Use site colours takes a page's colors, uspto.gov gives the palette #005ea2, #d93c37, #207ea0, #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 uspto.gov in Recolor in its own colors or try another palette on uspto.gov.
CSS variables
:root {
--color-1: #005ea2;
--color-2: #d93c37;
--color-3: #207ea0;
--color-4: #ffffff;
--color-5: #1b1b1b;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #005ea2;
--color-2: #d93c37;
--color-3: #207ea0;
--color-4: #ffffff;
--color-5: #1b1b1b;
--color-primary: #005ea2;
--color-secondary: #d93c37;
--color-accent: #207ea0;
}Text contrast on uspto.gov
The median contrast of the text on uspto.gov is 17.22:1, and under 0.1% of it fails WCAG AA: under 0.1% is under 4.5:1 and under 0.1% under 3:1. On the average studied site 6% of the text fails. 13% 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 uspto.gov writes its colors
Its CSS writes 3,294 color values: 88% hex codes, 10% in rgb(), 1.4% bare channels in a variable, 0.4% named colors and under 0.1% in hsl(). 14% of its color declarations read a CSS variable through var(), and it defines 176 variables that hold a color.
Its CSS carries Bootstrap's variables, version 5 (one of 130 Bootstrap 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 uspto.gov's. All 490 are on the blue page, and colors that go with blue shows what they pair it with. uspto.gov is also listed under Bootstrap sites and sites with a dark mode.
Common questions
Is the main color of uspto.gov blue?
Yes. Its main color is #005ea2, a blue near the CSS color darkslateblue, as on 49% of the 1,000 sites the study read.
Does uspto.gov use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables; the study found Bootstrap 5.
Is uspto.gov 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 uspto.gov pass WCAG AA?
No. Under 0.1% of its text fails AA, though half of it reads at 17.22:1 or better.
Can I see uspto.gov in another palette?
Yes. Load uspto.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
- The colors of the web 2026, Recolor recolor.page
- How the study was measured recolor.page
- dataset.csv, the row of rank 801 recolor.page
- uspto.gov, the page measured uspto.gov
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com