Tailwind CSS v4 default palette
Tailwind slate-600: #45556C
In Tailwind CSS v4, slate-600 is defined as --color-slate-600: oklch(44.6% 0.043 257.281), which is #45556C in hex and rgb(69, 85, 108): a dark, muted blue. In Tailwind v3, slate-600 was #475569.
In OKLCH, slate-600 has a lightness of 44.6%, chroma 0.043 and hue 257.3°.
The value fits inside sRGB, so the hex #45556C represents it without loss on any screen.
In v3, slate-600 was #475569. The v4 value is ΔE OK 0.6 away, below the point where most people can tell them apart; v4 is more saturated.
Tailwind slate is the bluest of the gray scales, a cool gray that pairs well with blue and indigo accents.
Color codes for slate-600
| Tailwind v4 token | --color-slate-600 |
|---|---|
| OKLCH (source value) | oklch(44.6% 0.043 257.281) |
| HEX | #45556C |
| RGB | rgb(69, 85, 108) |
| HSL | hsl(215, 22%, 35%) |
| HWB | hwb(215 27% 58%) |
| CMYK (naive, no ICC profile) | cmyk(36%, 21%, 0%, 58%) |
| Decimal | 4,543,852 |
| Tailwind v3 hex | #475569 |
| Utility classes | bg-slate-600, text-slate-600, border-slate-600 |
Tailwind slate scale
Contrast and accessibility
On slate-600, white text has a contrast ratio of 7.58:1 and passes AAA at any text size; black text reaches 2.76: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 slate-600 | 2.76:1 | Fail | Fail | Fail | Fail | 17.7 |
| White text on slate-600 | 7.58:1 | Pass | Pass | Pass | Pass | −91.1 |
| Slate-600 text on white | 7.58:1 | Pass | Pass | Pass | Pass | 86.3 |
| Slate-600 text on black | 2.76:1 | Fail | Fail | Fail | Fail | −15.7 |
Tints and shades
Each step mixes var(--color-slate-600) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-slate-600), white 25%) in CSS.
Tints (mixed with white)
- 5%
#4e5e73 - 15%
#616f82 - 25%
#748091 - 35%
#86919f - 45%
#99a2ae - 55%
#abb3bd - 65%
#bec4cc - 75%
#d1d5da - 85%
#e3e6e9 - 95%
#f6f7f8
Shades (mixed with black)
- 5%
#425167 - 15%
#3b485c - 25%
#344051 - 35%
#2d3746 - 45%
#262f3b - 55%
#1f2631 - 65%
#181e26 - 75%
#11151b - 85%
#0a0d10 - 95%
#030405
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, slate-600's complementary color is #625139 (close to saddlebrown), its analogous colors are #3A5967 and #52516B, and its triadic partners are #6A4B4B and #495A43. For text on top, white gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #625139 |
| Analogous | −30°, +30° | #3a5967#52516b |
| Triadic | +120°, +240° | #6a4b4b#495a43 |
| Split-complementary | +150°, +210° | #684d40#57563a |
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 slate-600 is a cool color: its hue is 215° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
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 |
|---|---|---|
| darkslategray | #2f4f4f | 6.0 |
| dimgray | #696969 | 8.6 |
| darkslateblue | #483d8b | 9.5 |
Code snippets
<div class="bg-slate-600 text-white">...</div>
<p class="text-slate-600 border-slate-600">...</p>.element {
color: var(--color-slate-600);
background-color: oklch(44.6% 0.043 257.281);
border-color: #45556c;
outline-color: rgb(69 85 108);
}import SwiftUI
extension Color {
static let slate600 = Color(red: 0.271, green: 0.333, blue: 0.424)
}import androidx.compose.ui.graphics.Color
val Slate600 = Color(0xFF45556C)import 'package:flutter/material.dart';
const slate600 = Color(0xFF45556C);<!-- res/values/colors.xml -->
<color name="slate_600">#45556C</color>Frequently asked questions
- What is the hex code for Tailwind slate-600?
- In Tailwind CSS v4, slate-600 is oklch(44.6% 0.043 257.281), which converts to #45556C (rgb(69, 85, 108)) in sRGB. In Tailwind v3 the same name was #475569.
- What is the difference between slate-600 in Tailwind v3 and v4?
- v3 used the hex #475569; v4 redefined the palette in OKLCH as oklch(44.6% 0.043 257.281). In v3, slate-600 was #475569. The v4 value is ΔE OK 0.6 away, below the point where most people can tell them apart; v4 is more saturated.
- How do I use slate-600 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-slate-600). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on slate-600?
- White text on slate-600 has a contrast ratio of 7.58:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 2.76:1 and fails AA even for large text. In APCA terms that is Lc −91.1 for white and Lc 17.7 for black.
- Which CSS named color is closest to slate-600?
- The closest is darkslategray (#2F4F4F) at ΔE OK 6.0, followed by dimgray and darkslateblue.
Last reviewed by Arielton Oberek.