Skip to content

Tailwind CSS v4 default palette

Tailwind mist-500: #67787C

In Tailwind CSS v4, mist-500 is defined as --color-mist-500: oklch(56% 0.021 213.5), which is #67787C in hex and rgb(103, 120, 124): a medium-dark, grayish sky blue.

mist-500#67787C

In OKLCH, mist-500 has a lightness of 56.0%, chroma 0.021 and hue 213.5°. It is the most saturated shade of the mist scale.

The value fits inside sRGB, so the hex #67787C 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-500

Color codes for mist-500
Tailwind v4 token--color-mist-500
OKLCH (source value)oklch(56% 0.021 213.5)
HEX#67787C
RGBrgb(103, 120, 124)
HSLhsl(191, 9%, 45%)
HWBhwb(191 40% 51%)
CMYK (naive, no ICC profile)cmyk(17%, 3%, 0%, 51%)
Decimal6,781,052
Utility classesbg-mist-500, text-mist-500, border-mist-500

Tailwind mist scale

Contrast and accessibility

On mist-500, white text has a contrast ratio of 4.61:1 and passes AA for normal text; black text reaches 4.55: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-5004.55:1PassPassFailPass32.0
White text on mist-5004.61:1PassPassFailPass−77.5
Mist-500 text on white4.61:1PassPassFailPass72.0
Mist-500 text on black4.55:1PassPassFailPass−29.6

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #6f7f83
  2. 15%
    #7e8c90
  3. 25%
    #8d9a9d
  4. 35%
    #9ca7aa
  5. 45%
    #abb5b7
  6. 55%
    #bbc2c4
  7. 65%
    #cad0d1
  8. 75%
    #d9ddde
  9. 85%
    #e8ebeb
  10. 95%
    #f7f8f8

Shades (mixed with black)

  1. 5%
    #627276
  2. 15%
    #586669
  3. 25%
    #4d5a5d
  4. 35%
    #434e51
  5. 45%
    #394244
  6. 55%
    #2e3638
  7. 65%
    #242a2b
  8. 75%
    #1a1e1f
  9. 85%
    #0f1213
  10. 95%
    #050606

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, mist-500's complementary color is #80706D (close to dimgray), its analogous colors are #677976 and #6A7680, and its triadic partners are #7C707A and #787467. For text on top, white gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#80706d
Analogous−30°, +30°#677976#6a7680
Triadic+120°, +240°#7c707a#787467
Split-complementary+150°, +210°#807073#7e7268

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-500 is close to neutral: its OKLCH chroma is only 0.021, so its temperature comes from context. The faint 191° 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
slategray#7080903.7
dimgray#6969694.4
gray#8080804.5

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
neutral-500#7373732.1
gray-500#6a72822.3
zinc-500#71717b2.4

Code snippets

Tailwind CSS
<div class="bg-mist-500 text-white">...</div>
<p class="text-mist-500 border-mist-500">...</p>
CSS
.element {
  color: var(--color-mist-500);
  background-color: oklch(56% 0.021 213.5);
  border-color: #67787c;
  outline-color: rgb(103 120 124);
}
SwiftUI
import SwiftUI

extension Color {
  static let mist500 = Color(red: 0.404, green: 0.471, blue: 0.486)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const mist500 = Color(0xFF67787C);
Android XML
<!-- res/values/colors.xml -->
<color name="mist_500">#67787C</color>

Frequently asked questions

What is the hex code for Tailwind mist-500?
In Tailwind CSS v4, mist-500 is oklch(56% 0.021 213.5), which converts to #67787C (rgb(103, 120, 124)) in sRGB.
Is mist-500 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 #67787C.
How do I use mist-500 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-mist-500). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on mist-500?
White text on mist-500 has a contrast ratio of 4.61:1, which passes AA for normal text but not AAA under WCAG 2.2. Black text reaches 4.55:1 and passes AA for normal text but not AAA. In APCA terms that is Lc −77.5 for white and Lc 32.0 for black.
Which CSS named color is closest to mist-500?
The closest is slategray (#708090) at ΔE OK 3.7, followed by dimgray and gray.

Last reviewed by Arielton Oberek.