Skip to content

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.

sky-100#DFF2FE

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

Color codes for sky-100
Tailwind v4 token--color-sky-100
OKLCH (source value)oklch(95.1% 0.026 236.824)
HEX#DFF2FE
RGBrgb(223, 242, 254)
HSLhsl(203, 94%, 94%)
HWBhwb(203 87% 0%)
CMYK (naive, no ICC profile)cmyk(12%, 5%, 0%, 0%)
Decimal14,676,734
Tailwind v3 hex#E0F2FE
Utility classesbg-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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on sky-10018.26:1PassPassPassPass96.6
White text on sky-1001.14:1FailFailFailFail−8.2
Sky-100 text on white1.14:1FailFailFailFail0.0
Sky-100 text on black18.26:1PassPassPassPass−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)

  1. 5%
    #e1f3fe
  2. 15%
    #e4f4fe
  3. 25%
    #e7f5fe
  4. 35%
    #eaf7fe
  5. 45%
    #edf8fe
  6. 55%
    #f1f9ff
  7. 65%
    #f4faff
  8. 75%
    #f7fcff
  9. 85%
    #fafdff
  10. 95%
    #fdfeff

Shades (mixed with black)

  1. 5%
    #d4e6f1
  2. 15%
    #beced8
  3. 25%
    #a7b6bf
  4. 35%
    #919da5
  5. 45%
    #7b858c
  6. 55%
    #646d72
  7. 65%
    #4e5559
  8. 75%
    #383d40
  9. 85%
    #212426
  10. 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.

Color harmonies
HarmonyRotationColor
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.

Nearest CSS named colors

Nearest CSS named colors
ColorHEXΔE OK
aliceblue#f0f8ff2.8
lavender#e6e6fa3.0
whitesmoke#f5f5f53.2

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
indigo-50#eef2ff1.9
blue-100#dbeafe2.2
blue-50#eff6ff2.3

Code snippets

Tailwind CSS
<div class="bg-sky-100 text-black">...</div>
<p class="text-sky-100 border-sky-100">...</p>
CSS
.element {
  color: var(--color-sky-100);
  background-color: oklch(95.1% 0.026 236.824);
  border-color: #dff2fe;
  outline-color: rgb(223 242 254);
}
SwiftUI
import SwiftUI

extension Color {
  static let sky100 = Color(red: 0.875, green: 0.949, blue: 0.996)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const sky100 = Color(0xFFDFF2FE);
Android XML
<!-- 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.