A blue site with 17 colors in use, no framework found, 98% of its text at WCAG AA
The colors of www.gov.cn
Recolor (recolor.page) read the home page of www.gov.cn on October 8, 2026: its main color is #015293, a blue, and it paints 17 colors in 2 hue families out of 67 distinct values in its CSS, half of its text at 12.63:1 or better against what it sits on.
Measured
| Measure | www.gov.cn |
|---|---|
| Main color | #015293, a blue near darkslateblue |
| Five heaviest colors | #ffffff #333333 #015293 #dedede #c4e6fc |
| Colors in use | 17, 6 more than a gray; 67 distinct values in the CSS |
| Hue families | 2; blue and yellow hold 5% or more of its color |
| Canvas | #ffffff, light |
| Dark mode in the CSS | No |
| Notations | hex codes 92%, rgb() 7.2%, named colors 0.8% |
Colors through var() | 0% of its color declarations; 0 variables hold a color |
| Framework | None the study looks for |
| Text contrast | Median 12.63:1; 2.4% of its text under 4.5:1 |
| Page measured | https://www.gov.cn/, 83.4 KB of CSS |
The palette of www.gov.cn
Taken the way Recolor's Use site colours takes a page's colors, www.gov.cn gives the palette #015293, #cfaa60, #ffffff, #333333 and #dedede: the main color first, then its background and text color, black or white for colored text. The code below holds the palette; open www.gov.cn in Recolor in its own colors or try another palette on www.gov.cn.
CSS variables
:root {
--color-1: #015293;
--color-2: #cfaa60;
--color-3: #ffffff;
--color-4: #333333;
--color-5: #dedede;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #015293;
--color-2: #cfaa60;
--color-3: #ffffff;
--color-4: #333333;
--color-5: #dedede;
--color-primary: #015293;
--color-secondary: #cfaa60;
--color-accent: #ffffff;
}Text contrast on www.gov.cn
The median contrast of the text on www.gov.cn is 12.63:1, and 2.4% of it fails WCAG AA: 2.4% is under 4.5:1 and 1.8% under 3:1. On the average studied site 6% of the text fails. None 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 www.gov.cn writes its colors
Its CSS writes 265 color values: 92% hex codes, 7.2% in rgb() and 0.8% named colors. None of its color declarations reads a CSS variable.
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 www.gov.cn'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 www.gov.cn blue?
Yes. Its main color is #015293, a blue near the CSS color darkslateblue, as on 49% of the 1,000 sites the study read.
Does www.gov.cn use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables, nor those of another framework the study looks for.
Is www.gov.cn a dark site?
No. The color behind its home page is #ffffff, a light canvas.
Does the text on www.gov.cn pass WCAG AA?
No. 2.4% of its text fails AA, though half of it reads at 12.63:1 or better.
Can I see www.gov.cn in another palette?
Yes. Load www.gov.cn 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 524 recolor.page
- www.gov.cn, the page measured gov.cn
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com