Tailwind CSS v4 default palette
Tailwind sky-100: #DFF2FE
In Tailwind CSS v4, sky-100 is defined as --color-sky-100: oklch(95.1% 0.026 236.824), which is #DFF2FE in hex and rgb(223, 242, 254): an off-white with a sky blue tint. In Tailwind v3, sky-100 was #E0F2FE.
In OKLCH, sky-100 has a lightness of 95.1%, chroma 0.026 and hue 236.8°.
The value fits inside sRGB, so the hex #DFF2FE represents it without loss on any screen.
In v3, sky-100 was #E0F2FE. The v4 value is ΔE OK 0.1 away, below the point where most people can tell them apart.
Tailwind sky is a light, clear blue between cyan and blue. In v2.2 it replaced the older lightBlue name.
Color codes for sky-100
| Tailwind v4 token | --color-sky-100 |
|---|---|
| OKLCH (source value) | oklch(95.1% 0.026 236.824) |
| HEX | #DFF2FE |
| RGB | rgb(223, 242, 254) |
| HSL | hsl(203, 94%, 94%) |
| HWB | hwb(203 87% 0%) |
| CMYK (naive, no ICC profile) | cmyk(12%, 5%, 0%, 0%) |
| Decimal | 14,676,734 |
| Tailwind v3 hex | #E0F2FE |
| Utility classes | bg-sky-100, text-sky-100, border-sky-100 |
Tailwind sky scale
Contrast and accessibility
On sky-100, black text has a contrast ratio of 18.26:1 and passes AAA at any text size; white text reaches 1.14: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-100 | 18.26:1 | Pass | Pass | Pass | Pass | 96.6 |
| White text on sky-100 | 1.14:1 | Fail | Fail | Fail | Fail | −8.2 |
| Sky-100 text on white | 1.14:1 | Fail | Fail | Fail | Fail | 0.0 |
| Sky-100 text on black | 18.26:1 | Pass | Pass | Pass | Pass | −97.4 |
Tints and shades
Each step mixes var(--color-sky-100) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-sky-100), white 25%) in CSS.
Tints (mixed with white)
- 5%
#e1f3fe - 15%
#e4f4fe - 25%
#e7f5fe - 35%
#eaf7fe - 45%
#edf8fe - 55%
#f1f9ff - 65%
#f4faff - 75%
#f7fcff - 85%
#fafdff - 95%
#fdfeff
Shades (mixed with black)
- 5%
#d4e6f1 - 15%
#beced8 - 25%
#a7b6bf - 35%
#919da5 - 45%
#7b858c - 55%
#646d72 - 65%
#4e5559 - 75%
#383d40 - 85%
#212426 - 95%
#0b0c0d
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, sky-100's complementary color is #FDEBDE (close to antiquewhite), its analogous colors are #DCF4F8 and #E7EFFF, and its triadic partners are #FEE8EF and #EDF1DE. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #fdebde |
| Analogous | −30°, +30° | #dcf4f8#e7efff |
| Triadic | +120°, +240° | #fee8ef#edf1de |
| Split-complementary | +150°, +210° | #ffe9e6#f6eedc |
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-100 is close to neutral: its OKLCH chroma is only 0.026, so its temperature comes from context. The faint 203° hue gives it a slightly cool cast.
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-100 text-black">...</div>
<p class="text-sky-100 border-sky-100">...</p>.element {
color: var(--color-sky-100);
background-color: oklch(95.1% 0.026 236.824);
border-color: #dff2fe;
outline-color: rgb(223 242 254);
}import SwiftUI
extension Color {
static let sky100 = Color(red: 0.875, green: 0.949, blue: 0.996)
}import androidx.compose.ui.graphics.Color
val Sky100 = Color(0xFFDFF2FE)import 'package:flutter/material.dart';
const sky100 = Color(0xFFDFF2FE);<!-- res/values/colors.xml -->
<color name="sky_100">#DFF2FE</color>Frequently asked questions
- What is the hex code for Tailwind sky-100?
- In Tailwind CSS v4, sky-100 is oklch(95.1% 0.026 236.824), which converts to #DFF2FE (rgb(223, 242, 254)) in sRGB. In Tailwind v3 the same name was #E0F2FE.
- What is the difference between sky-100 in Tailwind v3 and v4?
- v3 used the hex #E0F2FE; v4 redefined the palette in OKLCH as oklch(95.1% 0.026 236.824). In v3, sky-100 was #E0F2FE. The v4 value is ΔE OK 0.1 away, below the point where most people can tell them apart.
- How do I use sky-100 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-sky-100). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on sky-100?
- White text on sky-100 has a contrast ratio of 1.14:1, which fails AA even for large text under WCAG 2.2. Black text reaches 18.26:1 and passes both AA and AAA. In APCA terms that is Lc −8.2 for white and Lc 96.6 for black.
- Which CSS named color is closest to sky-100?
- The closest is aliceblue (#F0F8FF) at ΔE OK 2.8, followed by lavender and whitesmoke.
Last reviewed by Arielton Oberek.