Tailwind CSS v4 default palette
Tailwind mist-700: #394447
In Tailwind CSS v4, mist-700 is defined as --color-mist-700: oklch(37.8% 0.015 216), which is #394447 in hex and rgb(57, 68, 71): a dark, grayish sky blue.
In OKLCH, mist-700 has a lightness of 37.8%, chroma 0.015 and hue 216.0°.
The value fits inside sRGB, so the hex #394447 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-700
| Tailwind v4 token | --color-mist-700 |
|---|---|
| OKLCH (source value) | oklch(37.8% 0.015 216) |
| HEX | #394447 |
| RGB | rgb(57, 68, 71) |
| HSL | hsl(193, 11%, 25%) |
| HWB | hwb(193 22% 72%) |
| CMYK (naive, no ICC profile) | cmyk(20%, 4%, 0%, 72%) |
| Decimal | 3,753,031 |
| Utility classes | bg-mist-700, text-mist-700, border-mist-700 |
Tailwind mist scale
Contrast and accessibility
On mist-700, white text has a contrast ratio of 10.03:1 and passes AAA at any text size; black text reaches 2.09: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 mist-700 | 2.09:1 | Fail | Fail | Fail | Fail | 10.6 |
| White text on mist-700 | 10.03:1 | Pass | Pass | Pass | Pass | −97.4 |
| Mist-700 text on white | 10.03:1 | Pass | Pass | Pass | Pass | 93.3 |
| Mist-700 text on black | 2.09:1 | Fail | Fail | Fail | Fail | −9.2 |
Tints and shades
Each step mixes var(--color-mist-700) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-mist-700), white 25%) in CSS.
Tints (mixed with white)
- 5%
#434d50 - 15%
#576063 - 25%
#6b7375 - 35%
#7e8587 - 45%
#92989a - 55%
#a6abac - 65%
#babebf - 75%
#ced0d1 - 85%
#e1e3e3 - 95%
#f5f6f6
Shades (mixed with black)
- 5%
#364143 - 15%
#303a3c - 25%
#2b3335 - 35%
#252c2e - 45%
#1f2527 - 55%
#1a1f20 - 65%
#141819 - 75%
#0e1112 - 85%
#090a0b - 95%
#030304
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, mist-700's complementary color is #493F3C (close to darkslategray), its analogous colors are #394543 and #3C434A, and its triadic partners are #473F45 and #444239. For text on top, white gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #493f3c |
| Analogous | −30°, +30° | #394543#3c434a |
| Triadic | +120°, +240° | #473f45#444239 |
| Split-complementary | +150°, +210° | #493f41#48403a |
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-700 is close to neutral: its OKLCH chroma is only 0.015, so its temperature comes from context. The faint 193° 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
| Color | HEX | ΔE OK |
|---|---|---|
| darkslategray | #2f4f4f | 3.5 |
| darkslateblue | #483d8b | 12.6 |
| dimgray | #696969 | 14.4 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| neutral-700 | #404040 | 1.7 |
| zinc-700 | #3f3f46 | 1.8 |
| stone-700 | #44403b | 2.4 |
Code snippets
<div class="bg-mist-700 text-white">...</div>
<p class="text-mist-700 border-mist-700">...</p>.element {
color: var(--color-mist-700);
background-color: oklch(37.8% 0.015 216);
border-color: #394447;
outline-color: rgb(57 68 71);
}import SwiftUI
extension Color {
static let mist700 = Color(red: 0.224, green: 0.267, blue: 0.278)
}import androidx.compose.ui.graphics.Color
val Mist700 = Color(0xFF394447)import 'package:flutter/material.dart';
const mist700 = Color(0xFF394447);<!-- res/values/colors.xml -->
<color name="mist_700">#394447</color>Frequently asked questions
- What is the hex code for Tailwind mist-700?
- In Tailwind CSS v4, mist-700 is oklch(37.8% 0.015 216), which converts to #394447 (rgb(57, 68, 71)) in sRGB.
- Is mist-700 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 #394447.
- How do I use mist-700 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-mist-700). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on mist-700?
- White text on mist-700 has a contrast ratio of 10.03:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 2.09:1 and fails AA even for large text. In APCA terms that is Lc −97.4 for white and Lc 10.6 for black.
- Which CSS named color is closest to mist-700?
- The closest is darkslategray (#2F4F4F) at ΔE OK 3.5, followed by darkslateblue and dimgray.
Last reviewed by Arielton Oberek.