A vivid dark blue, white text passes AA

Tailwind sky-800

The hex code of Tailwind sky-800 is #00598a (rgb(0 89 138)), from its Tailwind CSS 4.3.3 value oklch(44.3% 0.11 240.79). White text on it reaches 7.51:1, passing WCAG AAA; below, Recolor (recolor.page) puts it on a page.

Last updated

#00598asky-800
From the theme file of Tailwind CSS 4.3.3 (--color-sky-800), converted with Recolor's color code, October 9, 2026
FormatValue
OKLCH, as Tailwind writes itoklch(44.3% 0.11 240.79)
Hex#00598a, the nearest color in sRGB
RGBrgb(0 89 138)
HSLhsl(201 100% 27%)
OKLCH of the hexoklch(44.5% 0.107 242.8)
CSS variablevar(--color-sky-800)
Nearest CSS namedarkslateblue #483d8b, 0.092 away in OKLab
White text7.51:1: AA passes, AAA passes, large text passes
Black text2.80:1: AA fails, AAA fails, large text fails

About sky-800

Read as numbers, sky-800 is lightness 44.3%, chroma 0.110 and hue 240.8 degrees; read by eye, it is a vivid dark blue. Its neighbors on the sky scale are sky-700, 5.7 points lighter, and sky-900, 5.2 points darker.

Its HSL lightness, 27%, says little about how light sky-800 looks; OKLCH, made to match the eye, measures 44.3%, 17 points away. A hex code cannot hold sky-800 exactly: the value is outside sRGB, and #00598a is the CSS Color 4 gamut mapping of it, chroma lowered by 0.003, 0.2 points of lightness and 2.0 degrees of hue away from the value.

White on sky-800 reads at 7.51:1, enough for AAA body text; black reaches 2.80:1 and should stay off it. On the sky scale white text works from sky-700 to sky-950; sky-800 has 1 shade of margin.

No CSS keyword matches it; darkslateblue (#483d8b) is the nearest, 0.092 away in OKLab, a clear step off.

Tints and shades

  1. #d7e2ec
  2. #afc6d8
  3. #89aac5
  4. #628fb1
  5. #3b749e
  6. #00598a
  7. #00446b
  8. #00304e
  9. #001d32
  10. #000c18
  11. #000204

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. #00598a
  2. #f5dac0
  3. #6784a0
  4. #201811
  5. #a2b9c9

Around sky-800 as swatch 1, Recolor's generator made a complementary palette, built on the hue opposite: #f5dac0, #6784a0, #201811, #a2b9c9, drawn from a seed fixed by its hex. Open it in Recolor.

Using sky-800

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

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

Common questions

Does white text pass WCAG AA on Tailwind sky-800?

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

Is Tailwind sky-800 defined in OKLCH?

Yes. Tailwind CSS 4.3.3 defines it as --color-sky-800: oklch(44.3% 0.11 240.79); #00598a is its nearest sRGB color, since the value lies outside sRGB.

Is there a CSS named color for Tailwind sky-800?

No. The nearest CSS named color is darkslateblue (#483d8b), 0.092 away in OKLab.

Sources