A blue site with 19 colors in use, built with WordPress, 98% of its text at WCAG AA

The colors of duke.edu

On duke.edu, #012169 leads: a blue main color among 19 colors in use, 12 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 124 distinct color values in 339.4 KB of CSS, half of its text at 14.76:1 or better against what it sits on.

Measured

#012169Midnight Blue
#339898Cadet Blue
#c84e00Chocolate
#ffffffWhite
#000000Black
From the colors of the web 2026 dataset (dataset.csv, rank 627), measured on October 8, 2026 with scripts off; how it was measured
Measureduke.edu
Main color#012169, a blue near midnightblue
Five heaviest colors#ffffff #012169 #000000 #339898 #c84e00
Colors in use19, 12 more than a gray; 124 distinct values in the CSS
Hue families6; blue holds 5% or more of its color
Canvas#ffffff, light
Dark mode in the CSSNo
Notationshex codes 65%, rgb() 28%, hsl() 6.1%, named colors 0.4%
Colors through var()53% of its color declarations; 62 variables hold a color
FrameworkWordPress
Text contrastMedian 14.76:1; 2.2% of its text under 4.5:1
Page measuredhttps://www.duke.edu/, 339.4 KB of CSS

The palette of duke.edu

As a palette, duke.edu is #012169, #339898, #c84e00, #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 duke.edu in Recolor in its own colors and press Space to see it in others, or start from a new palette.

CSS variables

CSS
:root {
  --color-1: #012169;
  --color-2: #339898;
  --color-3: #c84e00;
  --color-4: #ffffff;
  --color-5: #000000;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #012169;
  --color-2: #339898;
  --color-3: #c84e00;
  --color-4: #ffffff;
  --color-5: #000000;
  --color-primary: #012169;
  --color-secondary: #339898;
  --color-accent: #c84e00;
}

Text contrast on duke.edu

On duke.edu, 2.2% of the text fails WCAG AA once large text is judged at 3:1 and the rest at 4.5:1. 2.2% reads under 4.5:1 and 0.1% under 3:1, while half of it reaches 14.76:1. On the average studied site 6% of the text fails. 37% of its text sits on a dark ground. Black or white text on a color explains the lines.

How duke.edu writes its colors

The 442 color values in its CSS are written as hex codes (65%), rgb() (28%), hsl() (6.1%) and named colors (0.4%). Through var(), 53% of its color declarations take their color from a CSS variable; 62 variables hold one. It also mixes colors with color-mix() 1 time.

By its variables, the study told WordPress's color presets in its CSS. No dark mode shows in its CSS; 41% of the studied sites declare one.

Sites with a similar main color

The blue sites nearest duke.edu in the lightness of their main color. The blue page lists all 490; colors that go with blue counts the hues beside it.

Common questions

Is the main color of duke.edu blue?

Yes. Its main color is #012169, a blue near the CSS color midnightblue, as on 49% of the 1,000 sites the study read.

Does duke.edu use Tailwind CSS?

No. Its CSS carries none of Tailwind CSS's variables; the study found WordPress.

Is duke.edu a dark site?

No. The color behind its home page is #ffffff, a light canvas.

Does the text on duke.edu pass WCAG AA?

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

Can I see duke.edu in another palette?

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

Sources