A blue site with 22 colors in use, no framework found, 99.9% of its text at WCAG AA
The colors of mlb.com
The main color of mlb.com is #057aff, a blue, and its home page uses 22 colors, 10 of them more than a gray, in 1 hue family. Recolor (recolor.page) read the page on October 8, 2026 for the colors of the web study: 103 distinct color values in 526.6 KB of CSS, half of its text at 19.84:1 or better against what it sits on.
Measured
| Measure | mlb.com |
|---|---|
| Main color | #057aff, a blue near dodgerblue |
| Five heaviest colors | #ffffff #000000 #333333 #057aff #ececec |
| Colors in use | 22, 10 more than a gray; 103 distinct values in the CSS |
| Hue families | 1; blue holds 5% or more of its color |
| Canvas | #f5f5f5, light |
| Dark mode in the CSS | Yes: prefers-color-scheme: dark |
| Notations | hex codes 88%, rgb() 11%, named colors 0.8% |
Colors through var() | 9.1% of its color declarations; 224 variables hold a color |
| Framework | None the study looks for |
| Text contrast | Median 19.84:1; 0.1% of its text under 4.5:1 |
| Page measured | https://www.mlb.com/, 526.6 KB of CSS |
The palette of mlb.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 mlb.com that is #057aff, #ffffff, #070a0d, #333333 and #c4c4c4. Open mlb.com in Recolor in its own colors, or try another palette on mlb.com.
CSS variables
:root {
--color-1: #057aff;
--color-2: #ffffff;
--color-3: #070a0d;
--color-4: #333333;
--color-5: #c4c4c4;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #057aff;
--color-2: #ffffff;
--color-3: #070a0d;
--color-4: #333333;
--color-5: #c4c4c4;
--color-primary: #057aff;
--color-secondary: #ffffff;
--color-accent: #070a0d;
}Text contrast on mlb.com
Half of the text on mlb.com reads at 19.84:1 or better against what it sits on. 0.1% of it falls under 4.5:1, the WCAG AA line for body text, and 0.1% under 3:1, the line for large text; judged as AA judges each piece of text, 0.1% fails. On the average studied site 6% of the text fails. 15% of its text sits on a dark ground. Black or white text on a color shows how to fix a pair.
How mlb.com writes its colors
Its CSS writes 1,008 color values: 88% hex codes, 11% in rgb() and 0.8% named colors. 9.1% of its color declarations read a CSS variable through var(), and it defines 224 variables that hold a color.
The study found none of the frameworks it looks for in its CSS: no Tailwind CSS, Bootstrap, WordPress or site builder variables. It declares a dark mode, through a prefers-color-scheme: dark media query, like 406 sites of the 1,000.
Sites with a similar main color
Other blue sites whose main color is about as light as mlb.com's. All 490 are on the blue page, and colors that go with blue shows what they pair it with. mlb.com is also listed under sites with a dark mode.
Common questions
Is the main color of mlb.com blue?
Yes. Its main color is #057aff, a blue near the CSS color dodgerblue, as on 49% of the 1,000 sites the study read.
Does mlb.com use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables, nor those of another framework the study looks for.
Is mlb.com a dark site?
No. The color behind its home page is #f5f5f5, a light canvas, though its CSS declares a dark mode for readers who ask for one.
Does the text on mlb.com pass WCAG AA?
No. 0.1% of its text fails AA, though half of it reads at 19.84:1 or better.
Can I see mlb.com in another palette?
Yes. Load mlb.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 920 recolor.page
- mlb.com, the page measured mlb.com
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com