Skip to content

Tailwind CSS v4 default palette

Tailwind sky-200: #B8E6FE

In Tailwind CSS v4, sky-200 is defined as --color-sky-200: oklch(90.1% 0.058 230.902), which is #B8E6FE in hex and rgb(184, 230, 254): a pale, muted sky blue. In Tailwind v3, sky-200 was #BAE6FD.

sky-200#B8E6FE

In OKLCH, sky-200 has a lightness of 90.1%, chroma 0.058 and hue 230.9°.

The value fits inside sRGB, so the hex #B8E6FE represents it without loss on any screen.

In v3, sky-200 was #BAE6FD. The v4 value is ΔE OK 0.3 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-200

Color codes for sky-200
Tailwind v4 token--color-sky-200
OKLCH (source value)oklch(90.1% 0.058 230.902)
HEX#B8E6FE
RGBrgb(184, 230, 254)
HSLhsl(201, 97%, 86%)
HWBhwb(201 72% 0%)
CMYK (naive, no ICC profile)cmyk(28%, 9%, 0%, 0%)
Decimal12,117,758
Tailwind v3 hex#BAE6FD
Utility classesbg-sky-200, text-sky-200, border-sky-200

Tailwind sky scale

Contrast and accessibility

On sky-200, black text has a contrast ratio of 15.78:1 and passes AAA at any text size; white text reaches 1.33: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-20015.78:1PassPassPassPass87.4
White text on sky-2001.33:1FailFailFailFail−18.6
Sky-200 text on white1.33:1FailFailFailFail16.2
Sky-200 text on black15.78:1PassPassPassPass−87.4

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #bce7fe
  2. 15%
    #c3eafe
  3. 25%
    #caecfe
  4. 35%
    #d1effe
  5. 45%
    #d8f1fe
  6. 55%
    #dff4ff
  7. 65%
    #e6f6ff
  8. 75%
    #edf9ff
  9. 85%
    #f4fbff
  10. 95%
    #fbfeff

Shades (mixed with black)

  1. 5%
    #afdbf1
  2. 15%
    #9cc4d8
  3. 25%
    #8aadbf
  4. 35%
    #7896a5
  5. 45%
    #657f8c
  6. 55%
    #536772
  7. 65%
    #405159
  8. 75%
    #2e3a40
  9. 85%
    #1c2326
  10. 95%
    #090c0d

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, sky-200's complementary color is #FFD4BC (close to peachpuff), its analogous colors are #B2EBEE and #C9E0FF, and its triadic partners are #FECFE3 and #DFE3B7. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#ffd4bc
Analogous−30°, +30°#b2ebee#c9e0ff
Triadic+120°, +240°#fecfe3#dfe3b7
Split-complementary+150°, +210°#ffd0ce#f2dbb3

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-200 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
powderblue#b0e0e63.6
paleturquoise#afeeee3.7
lightblue#add8e64.7

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
blue-200#bedbff3.0
cyan-200#a2f4fd4.1
blue-100#dbeafe4.4

Code snippets

Tailwind CSS
<div class="bg-sky-200 text-black">...</div>
<p class="text-sky-200 border-sky-200">...</p>
CSS
.element {
  color: var(--color-sky-200);
  background-color: oklch(90.1% 0.058 230.902);
  border-color: #b8e6fe;
  outline-color: rgb(184 230 254);
}
SwiftUI
import SwiftUI

extension Color {
  static let sky200 = Color(red: 0.722, green: 0.902, blue: 0.996)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const sky200 = Color(0xFFB8E6FE);
Android XML
<!-- res/values/colors.xml -->
<color name="sky_200">#B8E6FE</color>

Frequently asked questions

What is the hex code for Tailwind sky-200?
In Tailwind CSS v4, sky-200 is oklch(90.1% 0.058 230.902), which converts to #B8E6FE (rgb(184, 230, 254)) in sRGB. In Tailwind v3 the same name was #BAE6FD.
What is the difference between sky-200 in Tailwind v3 and v4?
v3 used the hex #BAE6FD; v4 redefined the palette in OKLCH as oklch(90.1% 0.058 230.902). In v3, sky-200 was #BAE6FD. The v4 value is ΔE OK 0.3 away, below the point where most people can tell them apart.
How do I use sky-200 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-sky-200). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on sky-200?
White text on sky-200 has a contrast ratio of 1.33:1, which fails AA even for large text under WCAG 2.2. Black text reaches 15.78:1 and passes both AA and AAA. In APCA terms that is Lc −18.6 for white and Lc 87.4 for black.
Which CSS named color is closest to sky-200?
The closest is powderblue (#B0E0E6) at ΔE OK 3.6, followed by paleturquoise and lightblue.

Last reviewed by Arielton Oberek.