Skip to content

Tailwind CSS v4 default palette

Tailwind sky-800: #00598A

In Tailwind CSS v4, sky-800 is defined as --color-sky-800: oklch(44.3% 0.11 240.79), which is #00598A in hex and rgb(0, 89, 138): a dark, moderately saturated sky blue. In Tailwind v3, sky-800 was #075985.

sky-800#00598A

In OKLCH, sky-800 has a lightness of 44.3%, chroma 0.110 and hue 240.8°.

This OKLCH value lies outside sRGB. The hex #00598A is the sRGB fallback from the CSS Color 4 gamut mapping algorithm; on Display P3 screens browsers show a more saturated color, close to color(display-p3 0.1207 0.3431 0.5244).

In v3, sky-800 was #075985. The v4 value is ΔE OK 1.0 away, below the point where most people can tell them apart; v4 is more saturated.

Tailwind sky is a light, clear blue between cyan and blue. In v2.2 it replaced the older lightBlue name.

Color codes for sky-800

Color codes for sky-800
Tailwind v4 token--color-sky-800
OKLCH (source value)oklch(44.3% 0.11 240.79)
HEX#00598A
RGBrgb(0, 89, 138)
HSLhsl(201, 100%, 27%)
HWBhwb(201 0% 46%)
CMYK (naive, no ICC profile)cmyk(100%, 36%, 0%, 46%)
Decimal22,922
Display P3color(display-p3 0.1207 0.3431 0.5244)
Tailwind v3 hex#075985
Utility classesbg-sky-800, text-sky-800, border-sky-800

Tailwind sky scale

Contrast and accessibility

On sky-800, white text has a contrast ratio of 7.51:1 and passes AAA at any text size; black text reaches 2.79:1.

WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on sky-8002.79:1FailFailFailFail18.5
White text on sky-8007.51:1PassPassPassPass−90.4
Sky-800 text on white7.51:1PassPassPassPass85.5
Sky-800 text on black2.79:1FailFailFailFail−16.5

Tints and shades

Each step mixes var(--color-sky-800) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-sky-800), white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #0d6190
  2. 15%
    #26729c
  3. 25%
    #4083a7
  4. 35%
    #5993b3
  5. 45%
    #73a4bf
  6. 55%
    #8cb4ca
  7. 65%
    #a6c5d6
  8. 75%
    #bfd6e2
  9. 85%
    #d9e6ed
  10. 95%
    #f2f7f9

Shades (mixed with black)

  1. 5%
    #005583
  2. 15%
    #004c75
  3. 25%
    #004368
  4. 35%
    #003a5a
  5. 45%
    #00314c
  6. 55%
    #00283e
  7. 65%
    #001f30
  8. 75%
    #001623
  9. 85%
    #000d15
  10. 95%
    #000407

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, sky-800's complementary color is #7E4200 (close to saddlebrown), its analogous colors are #006171 and #3D4E90, and its triadic partners are #823550 and #4B5C00. For text on top, white gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#7e4200
Analogous−30°, +30°#006171#3d4e90
Triadic+120°, +240°#823550#4b5c00
Split-complementary+150°, +210°#85382c#6a4f00

Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.

Warm or cool?

Tailwind sky-800 is a cool color: its hue is 201° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.

Nearest named and Tailwind colors

Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.

Nearest CSS named colors

Nearest CSS named colors
ColorHEXΔE OK
darkslateblue#483d8b9.6
darkslategray#2f4f4f9.6
teal#00808012.9

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
cyan-800#005f783.8
sky-900#024a705.6
sky-700#0069a86.2

Code snippets

Tailwind CSS
<div class="bg-sky-800 text-white">...</div>
<p class="text-sky-800 border-sky-800">...</p>
CSS
.element {
  color: var(--color-sky-800);
  background-color: oklch(44.3% 0.11 240.79);
  border-color: #00598a;
  outline-color: rgb(0 89 138);
}
SwiftUI
import SwiftUI

extension Color {
  static let sky800 = Color(red: 0.000, green: 0.349, blue: 0.541)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Sky800 = Color(0xFF00598A)
Flutter
import 'package:flutter/material.dart';

const sky800 = Color(0xFF00598A);
Android XML
<!-- res/values/colors.xml -->
<color name="sky_800">#00598A</color>

Frequently asked questions

What is the hex code for Tailwind sky-800?
In Tailwind CSS v4, sky-800 is oklch(44.3% 0.11 240.79), which converts to #00598A (rgb(0, 89, 138)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #075985.
What is the difference between sky-800 in Tailwind v3 and v4?
v3 used the hex #075985; v4 redefined the palette in OKLCH as oklch(44.3% 0.11 240.79). In v3, sky-800 was #075985. The v4 value is ΔE OK 1.0 away, below the point where most people can tell them apart; v4 is more saturated.
How do I use sky-800 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-sky-800). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on sky-800?
White text on sky-800 has a contrast ratio of 7.51:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 2.79:1 and fails AA even for large text. In APCA terms that is Lc −90.4 for white and Lc 18.5 for black.
Which CSS named color is closest to sky-800?
The closest is darkslateblue (#483D8B) at ΔE OK 9.6, followed by darkslategray and teal.

Last reviewed by Arielton Oberek.