Skip to content

Tailwind CSS v4 default palette

Tailwind mist-600: #4B585B

In Tailwind CSS v4, mist-600 is defined as --color-mist-600: oklch(45% 0.017 213.2), which is #4B585B in hex and rgb(75, 88, 91): a medium-dark, grayish sky blue.

mist-600#4B585B

In OKLCH, mist-600 has a lightness of 45.0%, chroma 0.017 and hue 213.2°.

The value fits inside sRGB, so the hex #4B585B 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-600

Color codes for mist-600
Tailwind v4 token--color-mist-600
OKLCH (source value)oklch(45% 0.017 213.2)
HEX#4B585B
RGBrgb(75, 88, 91)
HSLhsl(191, 10%, 33%)
HWBhwb(191 29% 64%)
CMYK (naive, no ICC profile)cmyk(18%, 3%, 0%, 64%)
Decimal4,937,819
Utility classesbg-mist-600, text-mist-600, border-mist-600

Tailwind mist scale

Contrast and accessibility

On mist-600, white text has a contrast ratio of 7.37:1 and passes AAA at any text size; black text reaches 2.84: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-6002.84:1FailFailFailFail18.4
White text on mist-6007.37:1PassPassPassPass−90.5
Mist-600 text on white7.37:1PassPassPassPass85.7
Mist-600 text on black2.84:1FailFailFailFail−16.4

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #546063
  2. 15%
    #667174
  3. 25%
    #788284
  4. 35%
    #8a9294
  5. 45%
    #9ca3a5
  6. 55%
    #aeb4b5
  7. 65%
    #c0c5c6
  8. 75%
    #d2d5d6
  9. 85%
    #e4e6e6
  10. 95%
    #f6f7f7

Shades (mixed with black)

  1. 5%
    #475456
  2. 15%
    #404b4d
  3. 25%
    #384244
  4. 35%
    #31393b
  5. 45%
    #293032
  6. 55%
    #222829
  7. 65%
    #1a1f20
  8. 75%
    #131617
  9. 85%
    #0b0d0e
  10. 95%
    #040405

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, mist-600's complementary color is #5E524F (close to darkslategray), its analogous colors are #4B5956 and #4D575E, and its triadic partners are #5B5259 and #58554B. For text on top, white gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#5e524f
Analogous−30°, +30°#4b5956#4d575e
Triadic+120°, +240°#5b5259#58554b
Split-complementary+150°, +210°#5e5254#5c534c

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-600 is close to neutral: its OKLCH chroma is only 0.017, 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
darkslategray#2f4f4f5.2
dimgray#6969697.3
darkolivegreen#556b2f10.1

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
neutral-600#5252522.0
gray-600#4a55652.2
zinc-600#52525c2.2

Code snippets

Tailwind CSS
<div class="bg-mist-600 text-white">...</div>
<p class="text-mist-600 border-mist-600">...</p>
CSS
.element {
  color: var(--color-mist-600);
  background-color: oklch(45% 0.017 213.2);
  border-color: #4b585b;
  outline-color: rgb(75 88 91);
}
SwiftUI
import SwiftUI

extension Color {
  static let mist600 = Color(red: 0.294, green: 0.345, blue: 0.357)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const mist600 = Color(0xFF4B585B);
Android XML
<!-- res/values/colors.xml -->
<color name="mist_600">#4B585B</color>

Frequently asked questions

What is the hex code for Tailwind mist-600?
In Tailwind CSS v4, mist-600 is oklch(45% 0.017 213.2), which converts to #4B585B (rgb(75, 88, 91)) in sRGB.
Is mist-600 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 #4B585B.
How do I use mist-600 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-mist-600). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on mist-600?
White text on mist-600 has a contrast ratio of 7.37:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 2.84:1 and fails AA even for large text. In APCA terms that is Lc −90.5 for white and Lc 18.4 for black.
Which CSS named color is closest to mist-600?
The closest is darkslategray (#2F4F4F) at ΔE OK 5.2, followed by dimgray and darkolivegreen.

Last reviewed by Arielton Oberek.