A blue site with 17 colors in use, built with Bootstrap 3, all of its text at WCAG AA
The colors of govinfo.gov
On govinfo.gov, #337ab7 leads: a blue main color among 17 colors in use, 8 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 143 distinct color values in 245.1 KB of CSS, half of its text at 14.6:1 or better against what it sits on.
Measured
| Measure | govinfo.gov |
|---|---|
| Main color | #337ab7, a blue near steelblue |
| Five heaviest colors | #337ab7 #0b294d #ffffff #ebebeb #c04518 |
| Colors in use | 17, 8 more than a gray; 143 distinct values in the CSS |
| Hue families | 3; blue and orange hold 5% or more of its color |
| Canvas | #ffffff, light |
| Dark mode in the CSS | No |
| Notations | hex codes 55%, rgb() 35%, named colors 8.3%, hsl() 2.1% |
Colors through var() | 0% of its color declarations; 0 variables hold a color |
| Framework | Bootstrap 3 |
| Text contrast | Median 14.6:1; 0% of its text under 4.5:1 |
| Page measured | https://www.govinfo.gov/, 245.1 KB of CSS |
The palette of govinfo.gov
As a palette, govinfo.gov is #337ab7, #c04518, #a003a6, #ffffff and #000000: 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 govinfo.gov in Recolor in its own colors and press Space to see it in others, or start from a new palette.
CSS variables
:root {
--color-1: #337ab7;
--color-2: #c04518;
--color-3: #a003a6;
--color-4: #ffffff;
--color-5: #000000;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #337ab7;
--color-2: #c04518;
--color-3: #a003a6;
--color-4: #ffffff;
--color-5: #000000;
--color-primary: #337ab7;
--color-secondary: #c04518;
--color-accent: #a003a6;
}Text contrast on govinfo.gov
Every piece of text the study read on govinfo.gov passes WCAG AA, with half of it at 14.6:1 or better. On the average studied site 6% of the text fails. None 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 govinfo.gov writes its colors
Its CSS writes 1,117 color values: 55% hex codes, 35% in rgb(), 8.3% named colors and 2.1% in hsl(). None of its color declarations reads a CSS variable.
Its CSS carries Bootstrap's variables, version 3 (one of 130 Bootstrap sites). 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 govinfo.gov's. All 490 are on the blue page, and colors that go with blue shows what they pair it with. govinfo.gov is also listed under Bootstrap sites.
Common questions
Is the main color of govinfo.gov blue?
Yes. Its main color is #337ab7, a blue near the CSS color steelblue, as on 49% of the 1,000 sites the study read.
Does govinfo.gov use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables; the study found Bootstrap 3.
Is govinfo.gov a dark site?
No. The color behind its home page is #ffffff, a light canvas.
Does the text on govinfo.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 14.6:1 or better.
Can I see govinfo.gov in another palette?
Yes. Load govinfo.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 1321 recolor.page
- govinfo.gov, the page measured govinfo.gov
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com