Skip to content

Tailwind CSS v4 default palette

Tailwind blue-200: #BEDBFF

In Tailwind CSS v4, blue-200 is defined as --color-blue-200: oklch(88.2% 0.059 254.128), which is #BEDBFF in hex and rgb(190, 219, 255): a very light, muted sky blue. In Tailwind v3, blue-200 was #BFDBFE.

blue-200#BEDBFF

In OKLCH, blue-200 has a lightness of 88.2%, chroma 0.059 and hue 254.1°.

This OKLCH value lies outside sRGB. The hex #BEDBFF 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.7669 0.8552 0.9875).

In v3, blue-200 was #BFDBFE. The v4 value is ΔE OK 0.2 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-200

Color codes for blue-200
Tailwind v4 token--color-blue-200
OKLCH (source value)oklch(88.2% 0.059 254.128)
HEX#BEDBFF
RGBrgb(190, 219, 255)
HSLhsl(213, 100%, 87%)
HWBhwb(213 75% 0%)
CMYK (naive, no ICC profile)cmyk(25%, 14%, 0%, 0%)
Decimal12,508,159
Display P3color(display-p3 0.7669 0.8552 0.9875)
Tailwind v3 hex#BFDBFE
Utility classesbg-blue-200, text-blue-200, border-blue-200

Tailwind blue scale

Contrast and accessibility

On blue-200, black text has a contrast ratio of 14.76:1 and passes AAA at any text size; white text reaches 1.42: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 blue-20014.76:1PassPassPassPass83.4
White text on blue-2001.42:1FailFailFailFail−23.1
Blue-200 text on white1.42:1FailFailFailFail20.3
Blue-200 text on black14.76:1PassPassPassPass−83.1

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #c1ddff
  2. 15%
    #c8e0ff
  3. 25%
    #cee4ff
  4. 35%
    #d5e8ff
  5. 45%
    #dbebff
  6. 55%
    #e2efff
  7. 65%
    #e8f2ff
  8. 75%
    #eff6ff
  9. 85%
    #f5faff
  10. 95%
    #fcfdff

Shades (mixed with black)

  1. 5%
    #b5d0f2
  2. 15%
    #a2bad9
  3. 25%
    #8fa4bf
  4. 35%
    #7c8ea6
  5. 45%
    #69788c
  6. 55%
    #556373
  7. 65%
    #434d59
  8. 75%
    #303740
  9. 85%
    #1d2126
  10. 95%
    #0a0b0d

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, blue-200's complementary color is #F0D3AE (close to wheat), its analogous colors are #AFE1F5 and #D3D4FF, and its triadic partners are #FDC9CC and #C8E1BA. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#f0d3ae
Analogous−30°, +30°#afe1f5#d3d4ff
Triadic+120°, +240°#fdc9cc#c8e1ba
Split-complementary+150°, +210°#fbcdb9#dedbae

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-200 is a cool color: its hue is 213° 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
lightblue#add8e64.2
powderblue#b0e0e64.6
gainsboro#dcdcdc6.0

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
indigo-200#c6d2ff2.5
sky-200#b8e6fe3.0
slate-300#cad5e23.9

Code snippets

Tailwind CSS
<div class="bg-blue-200 text-black">...</div>
<p class="text-blue-200 border-blue-200">...</p>
CSS
.element {
  color: var(--color-blue-200);
  background-color: oklch(88.2% 0.059 254.128);
  border-color: #bedbff;
  outline-color: rgb(190 219 255);
}
SwiftUI
import SwiftUI

extension Color {
  static let blue200 = Color(red: 0.745, green: 0.859, blue: 1.000)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const blue200 = Color(0xFFBEDBFF);
Android XML
<!-- res/values/colors.xml -->
<color name="blue_200">#BEDBFF</color>

Frequently asked questions

What is the hex code for Tailwind blue-200?
In Tailwind CSS v4, blue-200 is oklch(88.2% 0.059 254.128), which converts to #BEDBFF (rgb(190, 219, 255)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #BFDBFE.
What is the difference between blue-200 in Tailwind v3 and v4?
v3 used the hex #BFDBFE; v4 redefined the palette in OKLCH as oklch(88.2% 0.059 254.128). In v3, blue-200 was #BFDBFE. The v4 value is ΔE OK 0.2 away, below the point where most people can tell them apart.
How do I use blue-200 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-blue-200). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on blue-200?
White text on blue-200 has a contrast ratio of 1.42:1, which fails AA even for large text under WCAG 2.2. Black text reaches 14.76:1 and passes both AA and AAA. In APCA terms that is Lc −23.1 for white and Lc 83.4 for black.
Which CSS named color is closest to blue-200?
The closest is lightblue (#ADD8E6) at ΔE OK 4.2, followed by powderblue and gainsboro.

Last reviewed by Arielton Oberek.