Tailwind CSS v3 color

Tailwind slate-600 #475569

Tailwind CSS v3's slate-600 is #475569. It is a dark grayish blue in the blue family. In OKLCH it sits at lightness 0.446, chroma 0.037 and hue 257.3°. The nearest CSS named color is darkslateblue (#483D8B), ΔE2000 11.8 away.

Relative luminance
0.0886
OKLCH L · C · h
0.446 · 0.037 · 257.3
Best text
White 7.57:1
Hue family
Blue

#475569 color codes

HEX
#475569
RGB
rgb(71, 85, 105)
HSL
hsl(215, 19%, 35%)
OKLCH
oklch(0.446 0.037 257.3)
OKLab
oklab(0.446 -0.008 -0.037)
CIELAB (D65)
L* 35.71, a* -0.19, b* -13.29
XYZ (D65)
X 8.40, Y 8.86, Z 14.63
CMYK (naive)
cmyk(32%, 19%, 0%, 59%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

Legibility

Contrast: is #475569 accessible?

White text on it reaches 7.57:1, passing AAA. Black text fails at 2.77:1.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    2.77:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +17
  • White text on it

    7.57:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −91
  • As text on black

    2.77:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −15
  • As text on white

    7.57:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +86

Nearest versions that pass 4.5:1

  • For text on white

    #475569 7.57:1

    It already reaches 7.57:1 on white, so no change is needed.

  • For text on black

    #67768B 4.54:1

    Lightening its OKLCH lightness from 0.45 to 0.56 reaches 4.54:1 on black, keeping the hue.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #475569 live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #475569

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #475569 sits at step 700.

  1. 50#EFF6FF
    White
    1.08
    Black
    19.29
  2. 100#DFECFF
    White
    1.19
    Black
    17.57
  3. 200#CAD9EE
    White
    1.43
    Black
    14.67
  4. 300#B0BFD5
    White
    1.86
    Black
    11.25
  5. 400#93A3B9
    White
    2.56
    Black
    8.18
  6. 500#78879D
    White
    3.65
    Black
    5.75
  7. 600#617085
    White
    5.04
    Black
    4.16
  8. 700This color#475569
    White
    7.57
    Black
    2.77
  9. 800#344152
    White
    10.37
    Black
    2.02
  10. 900#1F2938
    White
    14.65
    Black
    1.43
  11. 950#0E1623
    White
    18.13
    Black
    1.15

Under each step, white and black text on it; a bold figure passes 4.5:1.

Tailwind CSS v3 slate scale

The real Tailwind palette, for comparison with the computed ramp above.

  1. 50#F8FAFC
    White
    1.04
    Black
    20.07
  2. 100#F1F5F9
    White
    1.09
    Black
    19.16
  3. 200#E2E8F0
    White
    1.23
    Black
    17.03
  4. 300#CBD5E1
    White
    1.48
    Black
    14.14
  5. 400#94A3B8
    White
    2.56
    Black
    8.19
  6. 500#64748B
    White
    4.75
    Black
    4.41
  7. 600This color#475569
    White
    7.57
    Black
    2.77
  8. 700#334155
    White
    10.35
    Black
    2.02
  9. 800#1E293B
    White
    14.62
    Black
    1.43
  10. 900#0F172A
    White
    17.85
    Black
    1.17
  11. 950#020617
    White
    20.17
    Black
    1.04

Gamut

How vivid #475569 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.160; #475569 uses 23% of it. Display P3, which many recent phones and laptops show, reaches 0.204 there: 27% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.037
sRGB edge
0.160
Display P3 edge
0.204
Rec. 2020 edge
0.345
Dominant wavelength
477 nm
Excitation purity
23%
Chromaticity
x 0.2634, y 0.2778
  • This color#475569
  • Most vivid in sRGB#004FAA
  • Most vivid in Display P3oklch(0.446 0.204 257.3)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #475569;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0 0.28 0.7276); }
}

Mixing

Mixing #475569

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#A3AAB4
  • OKLab50%#9EA6B1
  • OKLCH50%#9EA6B1

Black #000000

  • sRGB50%#242B35
  • OKLab50%#161C24
  • OKLCH50%#161C24

Its complement #60523D

  • sRGB50%#545453
  • OKLab50%#545454
  • OKLCH50%#405B50
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #475569, white);
color: color-mix(in oklch, #475569 50%, white);

In use

#475569 in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:17.57:1 Passes
  • Link and body-size textText, 4.5:17.57:1 Passes
  • Large headingLarge text, 3:17.57:1 Passes
  • Icons, borders and focus ringsNon-text, 3:17.57:1 Passes

Dark page

  • Button labelText, 4.5:17.57:1 Passes
  • Link and body-size textText, 4.5:12.47:1 Fails
  • Large headingLarge text, 3:12.47:1 Fails
  • Icons, borders and focus ringsNon-text, 3:12.47:1 Fails

For text on this page, the nearest shade that passes is #707F94 4.59:1

Color vision

How #475569 looks with color blindness

Tritanopia changes it most, ΔE2000 12.0; protanopia changes it least, 2.8.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #4E566A ΔE2000 2.8

    Close match

    Reads as dark grayish blue

  • Deuteranopia

    No working green (medium-wavelength) cones

    #4A5369 ΔE2000 2.9

    Close match

    Reads as dark grayish blue

  • Tritanopia

    No working blue (short-wavelength) cones

    #3D595C ΔE2000 12.0

    Distinct

    Reads as dark grayish teal

  • Achromatopsia

    No cone color vision; lightness only

    #545454 ΔE2000 10.2

    Distinct

    Reads as dark gray

Pairing check

Checked against its complement, #60523D. Their lightness contrast is only 1.00:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#475569 · #60523D21.6Stays distinct
Protanopia#4E566A · #58523C21.9Stays distinct
Deuteranopia#4A5369 · #5B553E23.1Stays distinct
Tritanopia#3D595C · #664E4C27.9Stays distinct
Achromatopsia#545454 · #5454540.0Easily confused

Harmony

Color harmonies for #475569

Its complement is #60523D, a dark grayish brown, on the warm side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#475569
  • Complement#60523D

Complementary

Open in Harmony Studio
  • −30°#3E5864
  • Base#475569
  • +30°#525168
  • Base#475569
  • +120°#674C4C
  • +240°#4A5945
  • Base#475569
  • +150°#664E42
  • +210°#56563E

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-slate-600: #475569;
}

Tailwind config

// tailwind.config.js — already built in as slate-600;
// pin the v3 value explicitly like this:
module.exports = {
  theme: {
    extend: {
      colors: {
        slate: { 600: '#475569' },
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  /* v4 has its own slate-600; this pins the v3 value. */
  --color-slate-600: oklch(0.446 0.037 257.3);
}

Design token (W3C DTCG)

{
  "color": {
    "slate-600": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.2784, 0.3333, 0.4118],
        "hex": "#475569"
      },
      "$description": "Tailwind CSS v3 slate-600"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let slate600 = Color(.sRGB, red: 0.278, green: 0.333, blue: 0.412, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Slate600 = Color(0xFF475569)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #475569 in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.