Skip to content

Tailwind CSS v4 default palette

Tailwind mist-200: #E3E7E8

In Tailwind CSS v4, mist-200 is defined as --color-mist-200: oklch(92.5% 0.005 214.3), which is #E3E7E8 in hex and rgb(227, 231, 232): a pale gray with a faint sky blue tint.

mist-200#E3E7E8

In OKLCH, mist-200 has a lightness of 92.5%, chroma 0.005 and hue 214.3°.

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

Tailwind mist is a tinted neutral added in v4.2: a cool gray with a slight blue-cyan cast. It has no v3 equivalent.

Color codes for mist-200

Color codes for mist-200
Tailwind v4 token--color-mist-200
OKLCH (source value)oklch(92.5% 0.005 214.3)
HEX#E3E7E8
RGBrgb(227, 231, 232)
HSLhsl(192, 10%, 90%)
HWBhwb(192 89% 9%)
CMYK (naive, no ICC profile)cmyk(2%, 0%, 0%, 9%)
Decimal14,936,040
Utility classesbg-mist-200, text-mist-200, border-mist-200

Tailwind mist scale

Contrast and accessibility

On mist-200, black text has a contrast ratio of 16.86:1 and passes AAA at any text size; white text reaches 1.24: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 mist-20016.86:1PassPassPassPass91.4
White text on mist-2001.24:1FailFailFailFail−14.1
Mist-200 text on white1.24:1FailFailFailFail12.2
Mist-200 text on black16.86:1PassPassPassPass−91.8

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #e4e8e9
  2. 15%
    #e7ebeb
  3. 25%
    #eaedee
  4. 35%
    #edeff0
  5. 45%
    #f0f2f2
  6. 55%
    #f2f4f5
  7. 65%
    #f5f7f7
  8. 75%
    #f8f9f9
  9. 85%
    #fbfbfc
  10. 95%
    #fefefe

Shades (mixed with black)

  1. 5%
    #d8dbdc
  2. 15%
    #c1c4c5
  3. 25%
    #aaadae
  4. 35%
    #949697
  5. 45%
    #7d7f80
  6. 55%
    #666868
  7. 65%
    #4f5151
  8. 75%
    #393a3a
  9. 85%
    #222323
  10. 95%
    #0b0c0c

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, mist-200's complementary color is #E9E5E4 (close to lavender), its analogous colors are #E3E7E6 and #E3E7E9, and its triadic partners are #E8E5E7 and #E7E6E2. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#e9e5e4
Analogous−30°, +30°#e3e7e6#e3e7e9
Triadic+120°, +240°#e8e5e7#e7e6e2
Split-complementary+150°, +210°#e9e5e6#e9e5e3

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 mist-200 is close to neutral: its OKLCH chroma is only 0.005, so its temperature comes from context. The faint 192° 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
lavender#e6e6fa2.6
gainsboro#dcdcdc3.1
mistyrose#ffe4e13.8

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
gray-200#e5e7eb0.6
neutral-200#e5e5e50.6
zinc-200#e4e4e70.7

Code snippets

Tailwind CSS
<div class="bg-mist-200 text-black">...</div>
<p class="text-mist-200 border-mist-200">...</p>
CSS
.element {
  color: var(--color-mist-200);
  background-color: oklch(92.5% 0.005 214.3);
  border-color: #e3e7e8;
  outline-color: rgb(227 231 232);
}
SwiftUI
import SwiftUI

extension Color {
  static let mist200 = Color(red: 0.890, green: 0.906, blue: 0.910)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const mist200 = Color(0xFFE3E7E8);
Android XML
<!-- res/values/colors.xml -->
<color name="mist_200">#E3E7E8</color>

Frequently asked questions

What is the hex code for Tailwind mist-200?
In Tailwind CSS v4, mist-200 is oklch(92.5% 0.005 214.3), which converts to #E3E7E8 (rgb(227, 231, 232)) in sRGB.
Is mist-200 available in Tailwind v3?
No. The mist scale was added in Tailwind CSS v4.2. In v3 you can recreate it in tailwind.config.js under theme.extend.colors with the hex #E3E7E8.
How do I use mist-200 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-mist-200). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on mist-200?
White text on mist-200 has a contrast ratio of 1.24:1, which fails AA even for large text under WCAG 2.2. Black text reaches 16.86:1 and passes both AA and AAA. In APCA terms that is Lc −14.1 for white and Lc 91.4 for black.
Which CSS named color is closest to mist-200?
The closest is lavender (#E6E6FA) at ΔE OK 2.6, followed by gainsboro and mistyrose.

Last reviewed by Arielton Oberek.