Tailwind CSS v4 default palette
Tailwind mist-950: #090B0C
In Tailwind CSS v4, mist-950 is defined as --color-mist-950: oklch(14.8% 0.004 228.8), which is #090B0C in hex and rgb(9, 11, 12): a near-black with a faint sky blue tint.
In OKLCH, mist-950 has a lightness of 14.8%, chroma 0.004 and hue 228.8°.
The value fits inside sRGB, so the hex #090B0C 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-950
| Tailwind v4 token | --color-mist-950 |
|---|---|
| OKLCH (source value) | oklch(14.8% 0.004 228.8) |
| HEX | #090B0C |
| RGB | rgb(9, 11, 12) |
| HSL | hsl(200, 14%, 4%) |
| HWB | hwb(200 4% 95%) |
| CMYK (naive, no ICC profile) | cmyk(25%, 8%, 0%, 95%) |
| Decimal | 592,652 |
| Utility classes | bg-mist-950, text-mist-950, border-mist-950 |
Tailwind mist scale
Contrast and accessibility
On mist-950, white text has a contrast ratio of 19.72:1 and passes AAA at any text size; black text reaches 1.06: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-950 | 1.06:1 | Fail | Fail | Fail | Fail | 0.0 |
| White text on mist-950 | 19.72:1 | Pass | Pass | Pass | Pass | −107.7 |
| Mist-950 text on white | 19.72:1 | Pass | Pass | Pass | Pass | 105.8 |
| Mist-950 text on black | 1.06:1 | Fail | Fail | Fail | Fail | 0.0 |
Tints and shades
Each step mixes var(--color-mist-950) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-mist-950), white 25%) in CSS.
Tints (mixed with white)
- 5%
#151718 - 15%
#2e3030 - 25%
#474849 - 35%
#5f6061 - 45%
#787979 - 55%
#909192 - 65%
#a9aaaa - 75%
#c2c2c2 - 85%
#dadadb - 95%
#f3f3f3
Shades (mixed with black)
- 5%
#090a0b - 15%
#08090a - 25%
#070809 - 35%
#060708 - 45%
#050607 - 55%
#040505 - 65%
#030404 - 75%
#020303 - 85%
#010202 - 95%
#000101
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, mist-950's complementary color is #0C0A09 (close to black), its analogous colors are #090B0B and #0A0B0C, and its triadic partners are #0C0A0B and #0B0B09. For text on top, white gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #0c0a09 |
| Analogous | −30°, +30° | #090b0b#0a0b0c |
| Triadic | +120°, +240° | #0c0a0b#0b0b09 |
| Split-complementary | +150°, +210° | #0c0a0a#0c0b09 |
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-950 is close to neutral: its OKLCH chroma is only 0.004, so its temperature comes from context. It has no perceptible hue.
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 |
|---|---|---|
| black | #000000 | 14.8 |
| midnightblue | #191970 | 19.9 |
| navy | #000080 | 22.2 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| neutral-950 | #0a0a0a | 0.5 |
| taupe-950 | #0c0a09 | 0.8 |
| stone-950 | #0c0a09 | 0.8 |
Code snippets
<div class="bg-mist-950 text-white">...</div>
<p class="text-mist-950 border-mist-950">...</p>.element {
color: var(--color-mist-950);
background-color: oklch(14.8% 0.004 228.8);
border-color: #090b0c;
outline-color: rgb(9 11 12);
}import SwiftUI
extension Color {
static let mist950 = Color(red: 0.035, green: 0.043, blue: 0.047)
}import androidx.compose.ui.graphics.Color
val Mist950 = Color(0xFF090B0C)import 'package:flutter/material.dart';
const mist950 = Color(0xFF090B0C);<!-- res/values/colors.xml -->
<color name="mist_950">#090B0C</color>Frequently asked questions
- What is the hex code for Tailwind mist-950?
- In Tailwind CSS v4, mist-950 is oklch(14.8% 0.004 228.8), which converts to #090B0C (rgb(9, 11, 12)) in sRGB.
- Is mist-950 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 #090B0C.
- How do I use mist-950 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-mist-950). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on mist-950?
- White text on mist-950 has a contrast ratio of 19.72:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 1.06:1 and fails AA even for large text. In APCA terms that is Lc −107.7 for white and Lc 0.0 for black.
- Which CSS named color is closest to mist-950?
- The closest is black (#000000) at ΔE OK 14.8, followed by midnightblue and navy.
Last reviewed by Arielton Oberek.