Skip to content

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.

mist-950#090B0C

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

Color codes for mist-950
Tailwind v4 token--color-mist-950
OKLCH (source value)oklch(14.8% 0.004 228.8)
HEX#090B0C
RGBrgb(9, 11, 12)
HSLhsl(200, 14%, 4%)
HWBhwb(200 4% 95%)
CMYK (naive, no ICC profile)cmyk(25%, 8%, 0%, 95%)
Decimal592,652
Utility classesbg-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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on mist-9501.06:1FailFailFailFail0.0
White text on mist-95019.72:1PassPassPassPass−107.7
Mist-950 text on white19.72:1PassPassPassPass105.8
Mist-950 text on black1.06:1FailFailFailFail0.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)

  1. 5%
    #151718
  2. 15%
    #2e3030
  3. 25%
    #474849
  4. 35%
    #5f6061
  5. 45%
    #787979
  6. 55%
    #909192
  7. 65%
    #a9aaaa
  8. 75%
    #c2c2c2
  9. 85%
    #dadadb
  10. 95%
    #f3f3f3

Shades (mixed with black)

  1. 5%
    #090a0b
  2. 15%
    #08090a
  3. 25%
    #070809
  4. 35%
    #060708
  5. 45%
    #050607
  6. 55%
    #040505
  7. 65%
    #030404
  8. 75%
    #020303
  9. 85%
    #010202
  10. 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.

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

Nearest CSS named colors
ColorHEXΔE OK
black#00000014.8
midnightblue#19197019.9
navy#00008022.2

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
neutral-950#0a0a0a0.5
taupe-950#0c0a090.8
stone-950#0c0a090.8

Code snippets

Tailwind CSS
<div class="bg-mist-950 text-white">...</div>
<p class="text-mist-950 border-mist-950">...</p>
CSS
.element {
  color: var(--color-mist-950);
  background-color: oklch(14.8% 0.004 228.8);
  border-color: #090b0c;
  outline-color: rgb(9 11 12);
}
SwiftUI
import SwiftUI

extension Color {
  static let mist950 = Color(red: 0.035, green: 0.043, blue: 0.047)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

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