Skip to content
PantoneTools
neutral
Tailwind CSS palette

Gray 300

gray-300 · #D1D5DB

HEX

#D1D5DB

RGB

rgb(209, 213, 219)

CMYK

cmyk(5%, 3%, 0%, 14%)

HSL

hsl(216, 12%, 84%)

LAB

lab(85.1, -0.2, -3.4)

What is Gray 300?

Gray 300 is the gray-300 reference in the Tailwind CSS palette. Its sRGB value is #D1D5DB (rgb 209, 213, 219). It sits in the neutral family. The default color palette shipped with Tailwind CSS v3 by Tailwind Labs. 22 color families across 11 lightness steps (50 to 950). See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Gray 300 as a background.

Black text on this color

Sample text · 14.25 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 1.47 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Gray 300

An 11-step tonal scale derived from Gray 300 (#D1D5DB). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #FBFCFC

50

#FBFCFC

#FBFCFC

Copied #F8F8F9

100

#F8F8F9

#F8F8F9

Copied #F0F2F3

200

#F0F2F3

#F0F2F3

Copied #E8EAED

300

#E8EAED

#E8EAED

Copied #DDE0E4

400

#DDE0E4

#DDE0E4

Copied #D1D5DB

500

#D1D5DB

#D1D5DB

Copied #B2B5BA

600

#B2B5BA

#B2B5BA

Copied #888A8E

700

#888A8E

#888A8E

Copied #5E6063

800

#5E6063

#5E6063

Copied #343537

900

#343537

#343537

Copied #191A1A

950

#191A1A

#191A1A

Lighter tints (mixed with white)

Copied #D9DCE1

15%

#D9DCE1

Copied #E0E3E7

30%

#E0E3E7

Copied #E7E9EC

45%

#E7E9EC

Copied #EEEFF1

60%

#EEEFF1

Copied #F5F5F7

75%

#F5F5F7

Darker shades (mixed with black)

Copied #C2C6CC

15%

#C2C6CC

Copied #B2B6BB

30%

#B2B6BB

Copied #A0A3A8

45%

#A0A3A8

Copied #8A8D91

60%

#8A8D91

Copied #6F7175

75%

#6F7175

Color harmonies for Gray 300

Classic color-theory harmonies derived from rotating the hue of Gray 300. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #D1D5DB

#D1D5DB

#D1D5DB

Copied #DBD7D1

#DBD7D1

#DBD7D1

Triadic

Three colors 120° apart

Copied #D1D5DB

#D1D5DB

#D1D5DB

Copied #DBD1D5

#DBD1D5

#DBD1D5

Copied #D5DBD1

#D5DBD1

#D5DBD1

Analogous

Two neighbors ±30° on the wheel

Copied #D1DADB

#D1DADB

#D1DADB

Copied #D1D5DB

#D1D5DB

#D1D5DB

Copied #D2D1DB

#D2D1DB

#D2D1DB

Split-complementary

Base + two colors flanking its complement

Copied #D1D5DB

#D1D5DB

#D1D5DB

Copied #DBD2D1

#DBD2D1

#DBD2D1

Copied #DADBD1

#DADBD1

#DADBD1

Tetradic

Two complementary pairs

Copied #D1D5DB

#D1D5DB

#D1D5DB

Copied #D7D1DB

#D7D1DB

#D7D1DB

Copied #DBD7D1

#DBD7D1

#DBD7D1

Copied #D5DBD1

#D5DBD1

#D5DBD1

Square

Four colors evenly spaced 90° apart

Copied #D1D5DB

#D1D5DB

#D1D5DB

Copied #DBD1DA

#DBD1DA

#DBD1DA

Copied #DBD7D1

#DBD7D1

#DBD7D1

Copied #D1DBD2

#D1DBD2

#D1DBD2

Gray 300 in every color space

Full conversion of Gray 300 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#D1D5DB

RGB

rgb(209, 213, 219)

CMYK

cmyk(5%, 3%, 0%, 14%)

HSL

hsl(216, 12%, 84%)

HSV

hsv(216, 5%, 86%)

HWB

hwb(216 82% 14%)

CIE Lab

lab(85.1 -0.2 -3.4)

OKLCH

oklch(87.2% 0.009 258.3)

XYZ (D65)

xyz(62.87, 66.26, 76.48)

Copy-ready code for Gray 300

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #D1D5DB;
background-color: #D1D5DB;

CSS variable

:root {
  --color-gray-300: #D1D5DB;
}

Tailwind config

// tailwind.config.js
colors: {
  'gray-300': '#D1D5DB',
}

Sass

$color-gray-300: #D1D5DB;

Swift UIColor

UIColor(red: 0.820, green: 0.835, blue: 0.859, alpha: 1.0)

Android XML

<color name="gray-300">#D1D5DB</color>

Closest match in every color system

The nearest Gray 300 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in Tailwind CSS palette

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #D7D7D7

RAL 7035

#D7D7D7

Light grey

Copied #D7D7D7

RAL 9018

#D7D7D7

Papyrus white

Copied #F4F4F4

RAL 9003

#F4F4F4

Signal white

Copied #F6F6F6

RAL 9016

#F6F6F6

Traffic white

Copied #FFFFFF

RAL 9010

#FFFFFF

Pure white

Copied #B5B8B1

RAL 7038

#B5B8B1

Agate grey

FAQ about Gray 300

What is the HEX code for Gray 300?

Gray 300 (gray-300) has the HEX code #D1D5DB. In RGB it is rgb(209, 213, 219), and in CMYK it is cmyk(5%, 3%, 0%, 14%).

What is the OKLCH value of Gray 300?

Gray 300 converts to oklch(0.872 0.009 258.3). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Gray 300 accessible for body text?

Used as a background, Gray 300 has a contrast ratio of 14.25:1 with black text and 1.47:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.

What is the closest Pantone to Gray 300?

The closest Pantone reference to Gray 300 by ΔE2000 perceptual distance is Pantone Cool Gray 2 C (#D0D0CE). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Gray 300?

The closest RAL Classic reference to Gray 300 by ΔE2000 distance is RAL 7035 (Light grey, #D7D7D7). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Gray 300?

The complementary color (180° opposite on the HSL color wheel) of Gray 300 is #DBD7D1. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

Tailwind CSS default palette (v3)

The default color palette shipped with Tailwind CSS v3 by Tailwind Labs Inc. Use as a reference for design tokens, web color systems, and Tailwind-based design conversations. Names like 'blue-500' are the project's own naming convention.

Source type
derived
Confidence
high
License
MIT
Last reviewed
2026-05-24

Workflow tags

tailwind
design-token
web-system
neutral

Tailwind palette values are designed for digital interfaces under sRGB. For print, convert to a process-appropriate value and proof against the substrate; do not rely on sRGB CMYK conversion for color-critical print work.

Tailwind CSS palette · Gray 300 — #D1D5DB | PantoneTools