Tailwind CSS v4 default palette
Tailwind blue-100: #DBEAFE
In Tailwind CSS v4, blue-100 is defined as --color-blue-100: oklch(93.2% 0.032 255.585), which is #DBEAFE in hex and rgb(219, 234, 254): an off-white with a sky blue tint. In Tailwind v3, blue-100 was #DBEAFE.
In OKLCH, blue-100 has a lightness of 93.2%, chroma 0.032 and hue 255.6°.
The value fits inside sRGB, so the hex #DBEAFE represents it without loss on any screen.
In v3, blue-100 was #DBEAFE. The v4 value is ΔE OK 0.0 away, below the point where most people can tell them apart.
Tailwind blue is the default for links, focus rings and primary buttons in many projects built on the framework.
Color codes for blue-100
| Tailwind v4 token | --color-blue-100 |
|---|---|
| OKLCH (source value) | oklch(93.2% 0.032 255.585) |
| HEX | #DBEAFE |
| RGB | rgb(219, 234, 254) |
| HSL | hsl(214, 95%, 93%) |
| HWB | hwb(214 86% 0%) |
| CMYK (naive, no ICC profile) | cmyk(14%, 8%, 0%, 0%) |
| Decimal | 14,412,542 |
| Tailwind v3 hex | #DBEAFE |
| Utility classes | bg-blue-100, text-blue-100, border-blue-100 |
Tailwind blue scale
Contrast and accessibility
On blue-100, black text has a contrast ratio of 17.21:1 and passes AAA at any text size; white text reaches 1.22: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 blue-100 | 17.21:1 | Pass | Pass | Pass | Pass | 92.7 |
| White text on blue-100 | 1.22:1 | Fail | Fail | Fail | Fail | −12.6 |
| Blue-100 text on white | 1.22:1 | Fail | Fail | Fail | Fail | 10.8 |
| Blue-100 text on black | 17.21:1 | Pass | Pass | Pass | Pass | −93.2 |
Tints and shades
Each step mixes var(--color-blue-100) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-blue-100), white 25%) in CSS.
Tints (mixed with white)
- 5%
#ddebfe - 15%
#e0edfe - 25%
#e4effe - 35%
#e8f1fe - 45%
#ebf3fe - 55%
#eff6ff - 65%
#f2f8ff - 75%
#f6faff - 85%
#fafcff - 95%
#fdfeff
Shades (mixed with black)
- 5%
#d0def1 - 15%
#bac7d8 - 25%
#a4b0bf - 35%
#8e98a5 - 45%
#78818c - 55%
#636972 - 65%
#4d5259 - 75%
#373b40 - 85%
#212326 - 95%
#0b0c0d
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, blue-100's complementary color is #F5E6D2 (close to antiquewhite), its analogous colors are #D3EEF9 and #E6E6FE, and its triadic partners are #FDE0E1 and #DFEED9. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #f5e6d2 |
| Analogous | −30°, +30° | #d3eef9#e6e6fe |
| Triadic | +120°, +240° | #fde0e1#dfeed9 |
| Split-complementary | +150°, +210° | #fce3d7#ebead2 |
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 blue-100 is a cool color: its hue is 214° 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-blue-100 text-black">...</div>
<p class="text-blue-100 border-blue-100">...</p>.element {
color: var(--color-blue-100);
background-color: oklch(93.2% 0.032 255.585);
border-color: #dbeafe;
outline-color: rgb(219 234 254);
}import SwiftUI
extension Color {
static let blue100 = Color(red: 0.859, green: 0.918, blue: 0.996)
}import androidx.compose.ui.graphics.Color
val Blue100 = Color(0xFFDBEAFE)import 'package:flutter/material.dart';
const blue100 = Color(0xFFDBEAFE);<!-- res/values/colors.xml -->
<color name="blue_100">#DBEAFE</color>Frequently asked questions
- What is the hex code for Tailwind blue-100?
- In Tailwind CSS v4, blue-100 is oklch(93.2% 0.032 255.585), which converts to #DBEAFE (rgb(219, 234, 254)) in sRGB. In Tailwind v3 the same name was #DBEAFE.
- What is the difference between blue-100 in Tailwind v3 and v4?
- v3 used the hex #DBEAFE; v4 redefined the palette in OKLCH as oklch(93.2% 0.032 255.585). In v3, blue-100 was #DBEAFE. The v4 value is ΔE OK 0.0 away, below the point where most people can tell them apart.
- How do I use blue-100 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-blue-100). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on blue-100?
- White text on blue-100 has a contrast ratio of 1.22:1, which fails AA even for large text under WCAG 2.2. Black text reaches 17.21:1 and passes both AA and AAA. In APCA terms that is Lc −12.6 for white and Lc 92.7 for black.
- Which CSS named color is closest to blue-100?
- The closest is lavender (#E6E6FA) at ΔE OK 1.6, followed by aliceblue and gainsboro.
Last reviewed by Arielton Oberek.