An indigo site with 64 colors in use, no framework found, 97% of its text at WCAG AA

The colors of dev.to

Recolor (recolor.page) read the home page of dev.to on October 8, 2026: its main color is #4f46e5, an indigo, and it paints 64 colors in 7 hue families out of 315 distinct values in its CSS, half of its text at 7.11:1 or better against what it sits on.

Measured

#4f46e5Slate Blue
#17fd1aLime
#ed1556Crimson
#ffffffWhite
#31373dDark Slate Gray
From the colors of the web 2026 dataset (dataset.csv, rank 1034), measured on October 8, 2026 with scripts off; how it was measured
Measuredev.to
Main color#4f46e5, an indigo near slateblue
Five heaviest colors#4f46e5 #ffffff #78766f #3d3d3d #4338ca
Colors in use64, 47 more than a gray; 315 distinct values in the CSS
Hue families7; indigo holds 5% or more of its color
Canvas#f9f9f8, light
Dark mode in the CSSYes: a dark theme's class or attribute
Notationshex codes 66%, rgb() 30%, named colors 2.2%, bare channels in a variable 1.5%
Colors through var()52% of its color declarations; 92 variables hold a color
FrameworkNone the study looks for
Text contrastMedian 7.11:1; 3% of its text under 4.5:1
Page measuredhttps://dev.to/, 1711.7 KB of CSS

The palette of dev.to

Taken the way Recolor's Use site colours takes a page's colors, dev.to gives the palette #4f46e5, #17fd1a, #ed1556, #ffffff and #31373d: the main color first, then its background and text color, black or white for colored text. The code below holds the palette; open dev.to in Recolor in its own colors or try another palette on dev.to.

CSS variables

CSS
:root {
  --color-1: #4f46e5;
  --color-2: #17fd1a;
  --color-3: #ed1556;
  --color-4: #ffffff;
  --color-5: #31373d;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #4f46e5;
  --color-2: #17fd1a;
  --color-3: #ed1556;
  --color-4: #ffffff;
  --color-5: #31373d;
  --color-primary: #4f46e5;
  --color-secondary: #17fd1a;
  --color-accent: #ed1556;
}

Text contrast on dev.to

The median contrast of the text on dev.to is 7.11:1, and 3% of it fails WCAG AA: 3% is under 4.5:1 and 2.9% under 3:1. On the average studied site 6% of the text fails. 0.2% 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 dev.to writes its colors

The 4,557 color values in its CSS are written as hex codes (66%), rgb() (30%), named colors (2.2%) and bare channels in a variable (1.5%). Through var(), 52% of its color declarations take their color from a CSS variable; 92 variables hold one.

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 dark theme's class or attribute: a dark mode, as on 406 sites of the 1,000.

Sites with a similar main color

The indigo sites nearest dev.to in the lightness of their main color. The indigo page lists all 41; colors that go with indigo counts the hues beside it. dev.to is also listed under sites with a dark mode.

Common questions

Is the main color of dev.to blue?

No. Its main color is #4f46e5, an indigo near the CSS color slateblue; blue leads on 49% of the 1,000 sites the study read.

Does dev.to use Tailwind CSS?

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

Is dev.to a dark site?

No. The color behind its home page is #f9f9f8, a light canvas, though its CSS declares a dark mode for readers who ask for one.

Does the text on dev.to pass WCAG AA?

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

Can I see dev.to in another palette?

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

Sources