Tailwind CSS v4 default palette
Tailwind sky-600: #0084D1
In Tailwind CSS v4, sky-600 is defined as --color-sky-600: oklch(58.8% 0.158 241.966), which is #0084D1 in hex and rgb(0, 132, 209): a medium, vivid sky blue. In Tailwind v3, sky-600 was #0284C7.
In OKLCH, sky-600 has a lightness of 58.8%, chroma 0.158 and hue 242.0°.
This OKLCH value lies outside sRGB. The hex #0084D1 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.1625 0.5094 0.7961).
In v3, sky-600 was #0284C7. The v4 value is ΔE OK 1.9 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-600
| Tailwind v4 token | --color-sky-600 |
|---|---|
| OKLCH (source value) | oklch(58.8% 0.158 241.966) |
| HEX | #0084D1 |
| RGB | rgb(0, 132, 209) |
| HSL | hsl(202, 100%, 41%) |
| HWB | hwb(202 0% 18%) |
| CMYK (naive, no ICC profile) | cmyk(100%, 37%, 0%, 18%) |
| Decimal | 34,001 |
| Display P3 | color(display-p3 0.1625 0.5094 0.7961) |
| Tailwind v3 hex | #0284C7 |
| Utility classes | bg-sky-600, text-sky-600, border-sky-600 |
Tailwind sky scale
Contrast and accessibility
On sky-600, black text has a contrast ratio of 5.22:1 and passes AA for normal text; white text reaches 4.02: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.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on sky-600 | 5.22:1 | Pass | Pass | Fail | Pass | 37.3 |
| White text on sky-600 | 4.02:1 | Fail | Pass | Fail | Fail | −72.3 |
| Sky-600 text on white | 4.02:1 | Fail | Pass | Fail | Fail | 66.8 |
| Sky-600 text on black | 5.22:1 | Pass | Pass | Fail | Pass | −34.9 |
Tints and shades
Each step mixes var(--color-sky-600) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-sky-600), white 25%) in CSS.
Tints (mixed with white)
- 5%
#0d8ad3 - 15%
#2696d8 - 25%
#40a3dd - 35%
#59afe1 - 45%
#73bbe6 - 55%
#8cc8ea - 65%
#a6d4ef - 75%
#bfe0f4 - 85%
#d9edf8 - 95%
#f2f9fd
Shades (mixed with black)
- 5%
#007dc7 - 15%
#0070b2 - 25%
#00639d - 35%
#005688 - 45%
#004973 - 55%
#003b5e - 65%
#002e49 - 75%
#002134 - 85%
#00141f - 95%
#00070a
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, sky-600's complementary color is #BC6200 (close to chocolate), its analogous colors are #008FA7 and #5D72D9, and its triadic partners are #C44C75 and #6E8A00. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #bc6200 |
| Analogous | −30°, +30° | #008fa7#5d72d9 |
| Triadic | +120°, +240° | #c44c75#6e8a00 |
| Split-complementary | +150°, +210° | #c9503c#9a7800 |
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-600 is a cool color: its hue is 202° 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.
Code snippets
<div class="bg-sky-600 text-black">...</div>
<p class="text-sky-600 border-sky-600">...</p>.element {
color: var(--color-sky-600);
background-color: oklch(58.8% 0.158 241.966);
border-color: #0084d1;
outline-color: rgb(0 132 209);
}import SwiftUI
extension Color {
static let sky600 = Color(red: 0.000, green: 0.518, blue: 0.820)
}import androidx.compose.ui.graphics.Color
val Sky600 = Color(0xFF0084D1)import 'package:flutter/material.dart';
const sky600 = Color(0xFF0084D1);<!-- res/values/colors.xml -->
<color name="sky_600">#0084D1</color>Frequently asked questions
- What is the hex code for Tailwind sky-600?
- In Tailwind CSS v4, sky-600 is oklch(58.8% 0.158 241.966), which converts to #0084D1 (rgb(0, 132, 209)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #0284C7.
- What is the difference between sky-600 in Tailwind v3 and v4?
- v3 used the hex #0284C7; v4 redefined the palette in OKLCH as oklch(58.8% 0.158 241.966). In v3, sky-600 was #0284C7. The v4 value is ΔE OK 1.9 away, below the point where most people can tell them apart; v4 is more saturated.
- How do I use sky-600 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-sky-600). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on sky-600?
- White text on sky-600 has a contrast ratio of 4.02:1, which passes AA only for large text (24 px, or 18.66 px bold, and up) under WCAG 2.2. Black text reaches 5.22:1 and passes AA for normal text but not AAA. In APCA terms that is Lc −72.3 for white and Lc 37.3 for black.
- Which CSS named color is closest to sky-600?
- The closest is steelblue (#4682B4) at ΔE OK 5.9, followed by dodgerblue and royalblue.
Last reviewed by Arielton Oberek.