A grayish dark blue, white text passes AA

Tailwind gray-700

In Tailwind CSS 4.3.3, gray-700 is defined as oklch(37.3% 0.034 259.733); in hex that is #364153, or rgb(54 65 83). White text on it reaches 10.30:1, passing WCAG AAA, and Recolor (recolor.page) can show it on a real page.

Last updated

#364153gray-700
From the theme file of Tailwind CSS 4.3.3 (--color-gray-700), converted with Recolor's color code, October 9, 2026
FormatValue
OKLCH, as Tailwind writes itoklch(37.3% 0.034 259.733)
Hex#364153
RGBrgb(54 65 83)
HSLhsl(217 21% 27%)
CSS variablevar(--color-gray-700)
Nearest CSS namedarkslategray #2f4f4f, 0.049 away in OKLab
White text10.30:1: AA passes, AAA passes, large text passes
Black text2.04:1: AA fails, AAA fails, large text fails

About gray-700

In OKLCH, gray-700 has a lightness of 37.3%, a chroma of 0.034 and a hue of 259.7 degrees, which makes it a grayish dark blue. The step up to gray-600 is 7.3 points of lightness, and the step down to gray-800 9.5 points.

Its lightness is 27% in HSL and 37.3% in OKLCH, 10 points apart; only the second tracks how light it looks. The value lies inside sRGB, the gamut of a hex code, so gray-700 converts to #364153 without losing chroma.

For text, gray-700 wants white: 10.30:1 clears even AAA's 7:1, and black at 2.04:1 fails AA. On the gray scale white text works from gray-500 to gray-950; gray-700 has 2 shades of margin.

Among the CSS keywords, darkslategray (#2f4f4f) comes closest at 0.049 in OKLab, close enough to stand in for it in a sketch.

Tints and shades

  1. #dadde0
  2. #b7bbc2
  3. #949ba5
  4. #737b89
  5. #545d6d
  6. #364153
  7. #28313f
  8. #1b222c
  9. #0f131b
  10. #05060b
  11. #010101

From light to dark: 5 toward white and 5 toward black, mixed in OKLCH a sixth of the way at a time with the hue kept. A step that would repeat its neighbor is left out.

A palette around it

  1. #364153
  2. #e2d8ff
  3. #8d6fb7
  4. #1f2311
  5. #d3b4ff

Locked as the first of five swatches, gray-700 gets #e2d8ff, #8d6fb7, #1f2311, #d3b4ff from Recolor's generator, a complementary palette, built on the hue opposite. The seed is its hex, so the palette stays the same. Open it in Recolor.

Using gray-700

Pair it with text-white, 10.30:1; gray-700 as text on a white page measures the same ratio. In CSS it is var(--color-gray-700).

HTML
<a class="bg-gray-700 text-white" href="/start">Get started</a>
<p class="text-gray-700">Text in gray-700</p>

Common questions

Does white text pass WCAG AA on Tailwind gray-700?

Yes. White text measures 10.30:1 on gray-700, above the 4.5:1 that WCAG AA asks of body text, and above AAA's 7:1 too.

Is Tailwind gray-700 defined in OKLCH?

Yes. Tailwind CSS 4.3.3 defines it as --color-gray-700: oklch(37.3% 0.034 259.733); #364153 is its conversion to sRGB.

Is there a CSS named color for Tailwind gray-700?

No. The nearest CSS named color is darkslategray (#2f4f4f), 0.049 away in OKLab.

Sources