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
--color-gray-700), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(37.3% 0.034 259.733) |
| Hex | #364153 |
| RGB | rgb(54 65 83) |
| HSL | hsl(217 21% 27%) |
| CSS variable | var(--color-gray-700) |
| Nearest CSS name | darkslategray #2f4f4f, 0.049 away in OKLab |
| White text | 10.30:1: AA passes, AAA passes, large text passes |
| Black text | 2.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
- #dadde0
- #b7bbc2
- #949ba5
- #737b89
- #545d6d
- #364153
- #28313f
- #1b222c
- #0f131b
- #05060b
- #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
- #364153
- #e2d8ff
- #8d6fb7
- #1f2311
- #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).
<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
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org