A blue site with 23 colors in use, built with Bootstrap, 99.1% of its text at WCAG AA
The colors of irs.gov
The main color of irs.gov is #00599c, a blue, and its home page uses 23 colors, 15 of them more than a gray, in 5 hue families. Recolor (recolor.page) read the page on October 8, 2026 for the colors of the web study: 253 distinct color values in 1085.5 KB of CSS, half of its text at 16.36:1 or better against what it sits on.
Measured
| Measure | irs.gov |
|---|---|
| Main color | #00599c, a blue near darkslateblue |
| Five heaviest colors | #ffffff #00599c #1b1b1b #002d62 #002346 |
| Colors in use | 23, 15 more than a gray; 253 distinct values in the CSS |
| Hue families | 5; blue and violet 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() 6.9%, named colors 2.9%, bare channels in a variable 2.2% |
Colors through var() | 26% of its color declarations; 160 variables hold a color |
| Framework | Bootstrap |
| Text contrast | Median 16.36:1; 0.9% of its text under 4.5:1 |
| Page measured | https://www.irs.gov/, 1085.5 KB of CSS |
The palette of irs.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 irs.gov that is #00599c, #6e41a0, #c7a97b, #ffffff and #1b1b1b. Open irs.gov in Recolor in its own colors, or try another palette on irs.gov.
CSS variables
:root {
--color-1: #00599c;
--color-2: #6e41a0;
--color-3: #c7a97b;
--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: #00599c;
--color-2: #6e41a0;
--color-3: #c7a97b;
--color-4: #ffffff;
--color-5: #1b1b1b;
--color-primary: #00599c;
--color-secondary: #6e41a0;
--color-accent: #c7a97b;
}Text contrast on irs.gov
Half of the text on irs.gov reads at 16.36:1 or better against what it sits on. 0.9% of it falls under 4.5:1, the WCAG AA line for body text, and 0.9% under 3:1, the line for large text; judged as AA judges each piece of text, 0.9% fails. On the average studied site 6% of the text fails. 12% of its text sits on a dark ground. Black or white text on a color shows how to fix a pair.
How irs.gov writes its colors
The 2,124 color values in its CSS are written as hex codes (88%), rgb() (6.9%), named colors (2.9%) and bare channels in a variable (2.2%). Through var(), 26% of its color declarations take their color from a CSS variable; 160 variables hold one.
By its variables, the study told Bootstrap's variables (one of 130 Bootstrap sites) in its CSS. Its CSS holds dark colors under a dark theme's class or attribute: a dark mode, as on 406 sites of the 1,000.
Sites with a similar main color
The blue sites nearest irs.gov in the lightness of their main color. The blue page lists all 490; colors that go with blue counts the hues beside it. irs.gov is also listed under Bootstrap sites and sites with a dark mode.
Common questions
Is the main color of irs.gov blue?
Yes. Its main color is #00599c, a blue near the CSS color darkslateblue, as on 49% of the 1,000 sites the study read.
Does irs.gov use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables; the study found Bootstrap.
Is irs.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 irs.gov pass WCAG AA?
No. 0.9% of its text fails AA, though half of it reads at 16.36:1 or better.
Can I see irs.gov in another palette?
Yes. Load irs.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 431 recolor.page
- irs.gov, the page measured irs.gov
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com