An indigo site with 4 colors in use, no framework found, all of its text at WCAG AA
The colors of discord.com
On discord.com, #1f1d5d leads: an indigo main color among 4 colors in use, 2 of them more than a gray. Recolor (recolor.page) measured the home page on October 8, 2026 for its study of the colors of the web, reading 36 distinct color values in 817.1 KB of CSS, half of its text at 21:1 or better against what it sits on.
Measured
| Measure | discord.com |
|---|---|
| Main color | #1f1d5d, an indigo near midnightblue |
| Heaviest colors | #ffffff #000000 #1f1d5d #4d65ff |
| Colors in use | 4, 2 more than a gray; 36 distinct values in the CSS |
| Hue families | 1; indigo holds 5% or more of its color |
| Canvas | #ffffff, light |
| Dark mode in the CSS | Yes: a dark theme's class or attribute |
| Notations | hex codes 92%, hsl() 6.2%, rgb() 1.2%, named colors 0.2% |
Colors through var() | 22% of its color declarations; 272 variables hold a color |
| Framework | None the study looks for |
| Text contrast | Median 21:1; 0% of its text under 4.5:1 |
| Page measured | https://discord.com/, 817.1 KB of CSS |
The palette of discord.com
As a palette, discord.com is #1f1d5d, #ffffff and #000000: its hue families' main colors first, in the order Recolor ranks them, then its background and text color (black or white for colored text), then its grays. Open discord.com in Recolor in its own colors and press Space to see it in others, or start from a new palette.
CSS variables
:root {
--color-1: #1f1d5d;
--color-2: #ffffff;
--color-3: #000000;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #1f1d5d;
--color-2: #ffffff;
--color-3: #000000;
--color-primary: #1f1d5d;
--color-secondary: #ffffff;
--color-accent: #000000;
}Text contrast on discord.com
Every piece of text the study read on discord.com passes WCAG AA, with half of it at 21:1 or better. On the average studied site 6% of the text fails. None of its text sits on a dark ground. Black or white text on a color explains the 4.5:1 and 3:1 lines.
How discord.com writes its colors
Its CSS writes 1,531 color values: 92% hex codes, 6.2% in hsl(), 1.2% in rgb() and 0.2% named colors. 22% of its color declarations read a CSS variable through var(), and it defines 272 variables that hold a color. It also mixes colors with color-mix() 1,829 times.
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 dark theme's class or attribute, like 406 sites of the 1,000. 1 style sheet of the page could not be fetched, so the colors in it are missing here.
Sites with a similar main color
Other indigo sites whose main color is about as light as discord.com's. All 41 are on the indigo page, and colors that go with indigo shows what they pair it with. discord.com is also listed under sites with a dark mode.
Common questions
Is the main color of discord.com blue?
No. Its main color is #1f1d5d, an indigo near the CSS color midnightblue; blue leads on 49% of the 1,000 sites the study read.
Does discord.com use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables, nor those of another framework the study looks for.
Is discord.com a dark site?
No. The color behind its home page is #ffffff, a light canvas, though its CSS declares a dark mode for readers who ask for one.
Does the text on discord.com pass WCAG AA?
Yes. All of the text the study measured reaches 4.5:1 against what it sits on, or 3:1 where it is large; half of it reads at 21:1 or better.
Can I see discord.com in another palette?
Yes. Load discord.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 109 recolor.page
- discord.com, the page measured discord.com
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com