A red site with 18 colors in use, built with Bootstrap, 71% of its text at WCAG AA
The colors of cia.gov
The main color of cia.gov is #e20707, a red, and its home page uses 18 colors, 9 of them more than a gray, in 3 hue families. Recolor (recolor.page) read the page on October 8, 2026 for the colors of the web study: 98 distinct color values in 376.6 KB of CSS, half of its text at 6.61:1 or better against what it sits on.
Measured
| Measure | cia.gov |
|---|---|
| Main color | #e20707, a red near crimson |
| Five heaviest colors | #ffffff #fecf5e #808080 #1d6192 #8d0000 |
| Colors in use | 18, 9 more than a gray; 98 distinct values in the CSS |
| Hue families | 3; red, yellow and blue hold 5% or more of its color |
| Canvas | #1d6192, mid |
| Dark mode in the CSS | Yes: a dark theme's class or attribute |
| Notations | hex codes 87%, rgb() 6.3%, hsl() 3%, bare channels in a variable 2.7%, named colors 1% |
Colors through var() | 21% of its color declarations; 99 variables hold a color |
| Framework | Bootstrap |
| Text contrast | Median 6.61:1; 29% of its text under 4.5:1 |
| Page measured | https://www.cia.gov/, 376.6 KB of CSS |
The palette of cia.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 cia.gov that is #e20707, #fecf5e, #1d6192, #ffffff and #000000. Open cia.gov in Recolor in its own colors, or try another palette on cia.gov.
CSS variables
:root {
--color-1: #e20707;
--color-2: #fecf5e;
--color-3: #1d6192;
--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: #e20707;
--color-2: #fecf5e;
--color-3: #1d6192;
--color-4: #ffffff;
--color-5: #000000;
--color-primary: #e20707;
--color-secondary: #fecf5e;
--color-accent: #1d6192;
}Text contrast on cia.gov
Half of the text on cia.gov reads at 6.61:1 or better against what it sits on. 29% of it falls under 4.5:1, the WCAG AA line for body text, and 29% under 3:1, the line for large text; judged as AA judges each piece of text, 29% fails. On the average studied site 6% of the text fails. 38% of its text sits on a dark ground. Black or white text on a color shows how to fix a pair.
How cia.gov writes its colors
The 823 color values in its CSS are written as hex codes (87%), rgb() (6.3%), hsl() (3%), bare channels in a variable (2.7%) and named colors (1%). Through var(), 21% of its color declarations take their color from a CSS variable; 99 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 red sites nearest cia.gov in the lightness of their main color. The red page lists all 164; colors that go with red counts the hues beside it. cia.gov is also listed under Bootstrap sites and sites with a dark mode.
Common questions
Is the main color of cia.gov blue?
No. Its main color is #e20707, a red near the CSS color crimson; blue leads on 49% of the 1,000 sites the study read.
Does cia.gov use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables; the study found Bootstrap.
Is cia.gov a dark site?
No. The color behind its home page is #1d6192, a mid-tone canvas, though its CSS declares a dark mode for readers who ask for one.
Does the text on cia.gov pass WCAG AA?
No. 29% of its text fails AA, though half of it reads at 6.61:1 or better.
Can I see cia.gov in another palette?
Yes. Load cia.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 990 recolor.page
- cia.gov, the page measured cia.gov
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com