Skip to content

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.

mist-700#394447

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

Color codes for mist-700
Tailwind v4 token--color-mist-700
OKLCH (source value)oklch(37.8% 0.015 216)
HEX#394447
RGBrgb(57, 68, 71)
HSLhsl(193, 11%, 25%)
HWBhwb(193 22% 72%)
CMYK (naive, no ICC profile)cmyk(20%, 4%, 0%, 72%)
Decimal3,753,031
Utility classesbg-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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on mist-7002.09:1FailFailFailFail10.6
White text on mist-70010.03:1PassPassPassPass−97.4
Mist-700 text on white10.03:1PassPassPassPass93.3
Mist-700 text on black2.09:1FailFailFailFail−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)

  1. 5%
    #434d50
  2. 15%
    #576063
  3. 25%
    #6b7375
  4. 35%
    #7e8587
  5. 45%
    #92989a
  6. 55%
    #a6abac
  7. 65%
    #babebf
  8. 75%
    #ced0d1
  9. 85%
    #e1e3e3
  10. 95%
    #f5f6f6

Shades (mixed with black)

  1. 5%
    #364143
  2. 15%
    #303a3c
  3. 25%
    #2b3335
  4. 35%
    #252c2e
  5. 45%
    #1f2527
  6. 55%
    #1a1f20
  7. 65%
    #141819
  8. 75%
    #0e1112
  9. 85%
    #090a0b
  10. 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.

Color harmonies
HarmonyRotationColor
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

Nearest CSS named colors
ColorHEXΔE OK
darkslategray#2f4f4f3.5
darkslateblue#483d8b12.6
dimgray#69696914.4

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
neutral-700#4040401.7
zinc-700#3f3f461.8
stone-700#44403b2.4

Code snippets

Tailwind CSS
<div class="bg-mist-700 text-white">...</div>
<p class="text-mist-700 border-mist-700">...</p>
CSS
.element {
  color: var(--color-mist-700);
  background-color: oklch(37.8% 0.015 216);
  border-color: #394447;
  outline-color: rgb(57 68 71);
}
SwiftUI
import SwiftUI

extension Color {
  static let mist700 = Color(red: 0.224, green: 0.267, blue: 0.278)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const mist700 = Color(0xFF394447);
Android XML
<!-- 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.