A blue site with 8 colors in use, built with Bootstrap 5, 98% of its text at WCAG AA
The colors of history.com
Recolor (recolor.page) read the home page of history.com on October 8, 2026: its main color is #0d6efd, a blue, and it paints 8 colors in 1 hue family out of 206 distinct values in its CSS, half of its text at 21:1 or better against what it sits on.
Measured
| Measure | history.com |
|---|---|
| Main color | #0d6efd, a blue near royalblue |
| Five heaviest colors | #ffffff #181818 #000000 #0d6efd #0a58ca |
| Colors in use | 8, 2 more than a gray; 206 distinct values in the CSS |
| Hue families | 1; blue holds 5% or more of its color |
| Canvas | #000000, dark |
| Dark mode in the CSS | Yes: a dark theme's class or attribute |
| Notations | hex codes 71%, rgb() 23%, bare channels in a variable 4.9%, named colors 0.4% |
Colors through var() | 63% of its color declarations; 213 variables hold a color |
| Framework | Bootstrap 5 |
| Text contrast | Median 21:1; 1.5% of its text under 4.5:1 |
| Page measured | https://www.history.nl/nl, 552.9 KB of CSS |
The palette of history.com
Taken the way Recolor's Use site colours takes a page's colors, history.com gives the palette #0d6efd, #000000, #ffffff, #181818 and #393939: the main color first, then its background and text color, black or white for colored text. The code below holds the palette; open history.com in Recolor in its own colors or try another palette on history.com.
CSS variables
:root {
--color-1: #0d6efd;
--color-2: #000000;
--color-3: #ffffff;
--color-4: #181818;
--color-5: #393939;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #0d6efd;
--color-2: #000000;
--color-3: #ffffff;
--color-4: #181818;
--color-5: #393939;
--color-primary: #0d6efd;
--color-secondary: #000000;
--color-accent: #ffffff;
}Text contrast on history.com
The median contrast of the text on history.com is 21:1, and 1.5% of it fails WCAG AA: 1.5% is under 4.5:1 and 1.5% under 3:1. On the average studied site 6% of the text fails. Most of its text, 100%, sits on a dark ground. To pick a readable ink for a background, see Black or white text on a color.
How history.com writes its colors
The 1,428 color values in its CSS are written as hex codes (71%), rgb() (23%), bare channels in a variable (4.9%) and named colors (0.4%). Through var(), 63% of its color declarations take their color from a CSS variable; 213 variables hold one.
By its variables, the study told Bootstrap's variables, version 5 (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 history.com in the lightness of their main color. The blue page lists all 490; colors that go with blue counts the hues beside it. history.com is also listed under Bootstrap sites, dark sites and sites with a dark mode.
Common questions
Is the main color of history.com blue?
Yes. Its main color is #0d6efd, a blue near the CSS color royalblue, as on 49% of the 1,000 sites the study read.
Does history.com use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables; the study found Bootstrap 5.
Is history.com a dark site?
Yes. The color behind its home page is #000000, a dark canvas, as on 66 of the 1,000 sites; its CSS holds a dark mode as well.
Does the text on history.com pass WCAG AA?
No. 1.5% of its text fails AA, though half of it reads at 21:1 or better.
Can I see history.com in another palette?
Yes. Load history.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 740 recolor.page
- history.com, the page measured history.nl
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com