A black, white and gray site with 7 colors in use, built with Tailwind CSS 4, all of its text at WCAG AA

The colors of openai.com

The home page of openai.com has no main color: its CSS paints it in black, white and gray, 7 colors in use out of 783 distinct values in 1232.5 KB of CSS. Recolor (recolor.page) read the page on October 8, 2026 for the colors of the web study, half of its text at 21:1 or better against what it sits on.

Measured

#ffffffWhite
#000000Black
#5d5d5dDim Gray
#cdcdcdLight Gray
#1f1f1fMidnight Blue
From the colors of the web 2026 dataset (dataset.csv, rank 133), measured on October 8, 2026 with scripts off; how it was measured
Measureopenai.com
Main colorNone: black, white and gray only
Five heaviest colors#e5e7eb #000000 #ffffff #cdcdcd #1f1f1f
Colors in use7, 0 more than a gray; 783 distinct values in the CSS
Hue familiesNone
Canvas#ffffff, light
Dark mode in the CSSYes: prefers-color-scheme: dark and a dark theme's class or attribute
Notationshex codes 96%, lab() 2.5%, named colors 1.2%, oklab() 0.1%, rgb() 0.1%
Colors through var()70% of its color declarations; 800 variables hold a color
FrameworkTailwind CSS 4, Radix
Text contrastMedian 21:1; 0% of its text under 4.5:1
Page measuredhttps://openai.com/, 1232.5 KB of CSS

The palette of openai.com

With no hue family on its home page, openai.com gives Recolor's Use site colours button the gray behind its text, the text's own color and grays between the two: #ffffff, #000000, #5d5d5d, #cdcdcd and #1f1f1f. Open openai.com in Recolor in its own colors, or try another palette on openai.com.

CSS variables

CSS
:root {
  --color-1: #ffffff;
  --color-2: #000000;
  --color-3: #5d5d5d;
  --color-4: #cdcdcd;
  --color-5: #1f1f1f;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #ffffff;
  --color-2: #000000;
  --color-3: #5d5d5d;
  --color-4: #cdcdcd;
  --color-5: #1f1f1f;
  --color-primary: #ffffff;
  --color-secondary: #000000;
  --color-accent: #5d5d5d;
}

Text contrast on openai.com

Half of the text on openai.com reads at 21:1 or better against what it sits on, and all of it reaches WCAG AA: 4.5:1 for body text, 3:1 for large text. On the average studied site 6% of the text fails. 1.2% of its text sits on a dark ground. Black or white text on a color shows how such contrast is chosen.

How openai.com writes its colors

Its CSS writes 3,011 color values: 96% hex codes, 2.5% in lab(), 1.2% named colors, 0.1% in oklab() and 0.1% in rgb(). 70% of its color declarations read a CSS variable through var(), and it defines 800 variables that hold a color. It also mixes colors with color-mix() 157 times.

Its CSS carries Tailwind CSS's variables, version 4 (one of 201 Tailwind CSS sites) and Radix's color scales. It declares a dark mode, through a prefers-color-scheme: dark media query and a dark theme's class or attribute, like 406 sites of the 1,000.

Other sites with no main color

Other sites with no main color, close to openai.com in rank. All 32 are on the black, white and gray page. openai.com is also listed under Tailwind CSS sites and sites with a dark mode.

Common questions

Is the main color of openai.com blue?

No. openai.com has no main color: the study found only black, white and gray on its home page, as on 3.2% of the 1,000 sites.

Does openai.com use Tailwind CSS?

Yes. Its CSS carries Tailwind CSS's variables, version 4, like 201 of the 1,000 sites the study read.

Is openai.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 openai.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 openai.com in another palette?

Yes. Load openai.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