A blue site with 44 colors in use, no framework found, 82% of its text at WCAG AA

The colors of python.org

Recolor (recolor.page) read the home page of python.org on October 8, 2026: its main color is #2b5b84, a blue, and it paints 44 colors in 7 hue families out of 183 distinct values in its CSS, half of its text at 4.67:1 or better against what it sits on.

Measured

#2b5b84Dark Slate Gray
#ffd343Gold
#cc3333Crimson
#e6e8eaLavender
#666666Dim Gray
From the colors of the web 2026 dataset (dataset.csv, rank 279), measured on October 8, 2026 with scripts off; how it was measured
Measurepython.org
Main color#2b5b84, a blue near darkslategray
Five heaviest colors#1e2933 #ffffff #e6e8ea #2b5b84 #666666
Colors in use44, 28 more than a gray; 183 distinct values in the CSS
Hue families7; blue and yellow hold 5% or more of its color
Canvas#2b5b84, mid
Dark mode in the CSSNo
Notationshex codes 87%, rgb() 9.9%, named colors 3.1%
Colors through var()0% of its color declarations; 14 variables hold a color
FrameworkNone the study looks for
Text contrastMedian 4.67:1; 19% of its text under 4.5:1
Page measuredhttps://www.python.org/, 504.3 KB of CSS

The palette of python.org

Taken the way Recolor's Use site colours takes a page's colors, python.org gives the palette #2b5b84, #ffd343, #cc3333, #e6e8ea and #666666: the main color first, then its background and text color, black or white for colored text. The code below holds the palette; open python.org in Recolor in its own colors or try another palette on python.org.

CSS variables

CSS
:root {
  --color-1: #2b5b84;
  --color-2: #ffd343;
  --color-3: #cc3333;
  --color-4: #e6e8ea;
  --color-5: #666666;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #2b5b84;
  --color-2: #ffd343;
  --color-3: #cc3333;
  --color-4: #e6e8ea;
  --color-5: #666666;
  --color-primary: #2b5b84;
  --color-secondary: #ffd343;
  --color-accent: #cc3333;
}

Text contrast on python.org

The median contrast of the text on python.org is 4.67:1, and 18% of it fails WCAG AA: 19% is under 4.5:1 and 1.7% under 3:1. On the average studied site 6% of the text fails. 31% 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 python.org writes its colors

The 1,237 color values in its CSS are written as hex codes (87%), rgb() (9.9%) and named colors (3.1%). Its color declarations write their colors directly, with no var(); 14 variables holding a color go unread by them.

No framework the study knows by its variables shows in its CSS, neither Tailwind CSS and Bootstrap nor a site builder's. No dark mode shows in its CSS; 41% of the studied sites declare one.

Sites with a similar main color

The blue sites nearest python.org in the lightness of their main color. The blue page lists all 490; colors that go with blue counts the hues beside it.

Common questions

Is the main color of python.org blue?

Yes. Its main color is #2b5b84, a blue near the CSS color darkslategray, as on 49% of the 1,000 sites the study read.

Does python.org use Tailwind CSS?

No. Its CSS carries none of Tailwind CSS's variables, nor those of another framework the study looks for.

Is python.org a dark site?

No. The color behind its home page is #2b5b84, a mid-tone canvas.

Does the text on python.org pass WCAG AA?

No. 18% of its text fails AA, though half of it reads at 4.67:1 or better.

Can I see python.org in another palette?

Yes. Load python.org in Recolor and press Space: the page repaints in a new palette, live. Its own palette opens it close to how it looks.

Sources