A blue site with 52 colors in use, no framework found, 99.7% of its text at WCAG AA
The colors of github.com
The main color of github.com is #0055d5, a blue, and its home page uses 52 colors, 32 of them more than a gray, in 6 hue families. Recolor (recolor.page) read the page on October 8, 2026 for the colors of the web study: 1,011 distinct color values in 5913.2 KB of CSS, half of its text at 14.01:1 or better against what it sits on.
Measured
| Measure | github.com |
|---|---|
| Main color | #0055d5, a blue near royalblue |
| Five heaviest colors | #ffffff #000000 #d2d9d4 #a4aea6 #191f1b |
| Colors in use | 52, 32 more than a gray; 1,011 distinct values in the CSS |
| Hue families | 6; blue, violet, green and cyan hold 5% or more of its color |
| Canvas | #0d1117, dark |
| Dark mode in the CSS | Yes: prefers-color-scheme: dark and a dark theme's class or attribute |
| Notations | hex codes 100%, named colors under 0.1% |
Colors through var() | 92% of its color declarations; 942 variables hold a color |
| Framework | None the study looks for |
| Text contrast | Median 14.01:1; 0.3% of its text under 4.5:1 |
| Page measured | https://github.com/, 5913.2 KB of CSS |
The palette of github.com
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 github.com that is #0055d5, #9a7cff, #08872b, #000000 and #a4aea6. Open github.com in Recolor in its own colors, or try another palette on github.com.
CSS variables
:root {
--color-1: #0055d5;
--color-2: #9a7cff;
--color-3: #08872b;
--color-4: #000000;
--color-5: #a4aea6;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #0055d5;
--color-2: #9a7cff;
--color-3: #08872b;
--color-4: #000000;
--color-5: #a4aea6;
--color-primary: #0055d5;
--color-secondary: #9a7cff;
--color-accent: #08872b;
}Text contrast on github.com
Half of the text on github.com reads at 14.01:1 or better against what it sits on. 0.3% of it falls under 4.5:1, the WCAG AA line for body text, and 0% under 3:1, the line for large text; judged as AA judges each piece of text, 0.3% fails. On the average studied site 6% of the text fails. Most of its text, 99.4%, sits on a dark ground. Black or white text on a color shows how to fix a pair.
How github.com writes its colors
The 12,738 color values in its CSS are written as hex codes (100%) and named colors (under 0.1%). Through var(), 92% of its color declarations take their color from a CSS variable; 942 variables hold one. It also mixes colors with color-mix() 78 times and writes 3 relative colors.
No framework the study knows by its variables shows in its CSS, neither Tailwind CSS and Bootstrap nor a site builder's. Its CSS holds dark colors under a prefers-color-scheme: dark media query and 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 github.com in the lightness of their main color. The blue page lists all 490; colors that go with blue counts the hues beside it. github.com is also listed under dark sites and sites with a dark mode.
Common questions
Is the main color of github.com blue?
Yes. Its main color is #0055d5, a blue near the CSS color royalblue, as on 49% of the 1,000 sites the study read.
Does github.com use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables, nor those of another framework the study looks for.
Is github.com a dark site?
Yes. The color behind its home page is #0d1117, a dark canvas, as on 66 of the 1,000 sites; its CSS holds a dark mode as well.
Does the text on github.com pass WCAG AA?
No. 0.3% of its text fails AA, though half of it reads at 14.01:1 or better.
Can I see github.com in another palette?
Yes. Load github.com 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 10 recolor.page
- github.com, the page measured github.com
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com