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
White text on this color
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.
50
#FBFCFC
#FBFCFC
100
#F8F8F9
#F8F8F9
200
#F0F2F3
#F0F2F3
300
#E8EAED
#E8EAED
400
#DDE0E4
#DDE0E4
500
#D1D5DB
#D1D5DB
600
#B2B5BA
#B2B5BA
700
#888A8E
#888A8E
800
#5E6063
#5E6063
900
#343537
#343537
950
#191A1A
#191A1A
Lighter tints (mixed with white)
15%
#D9DCE1
30%
#E0E3E7
45%
#E7E9EC
60%
#EEEFF1
75%
#F5F5F7
Darker shades (mixed with black)
15%
#C2C6CC
30%
#B2B6BB
45%
#A0A3A8
60%
#8A8D91
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
#D1D5DB
#D1D5DB
#DBD7D1
#DBD7D1
Triadic
Three colors 120° apart
#D1D5DB
#D1D5DB
#DBD1D5
#DBD1D5
#D5DBD1
#D5DBD1
Analogous
Two neighbors ±30° on the wheel
#D1DADB
#D1DADB
#D1D5DB
#D1D5DB
#D2D1DB
#D2D1DB
Split-complementary
Base + two colors flanking its complement
#D1D5DB
#D1D5DB
#DBD2D1
#DBD2D1
#DADBD1
#DADBD1
Tetradic
Two complementary pairs
#D1D5DB
#D1D5DB
#D7D1DB
#D7D1DB
#DBD7D1
#DBD7D1
#D5DBD1
#D5DBD1
Square
Four colors evenly spaced 90° apart
#D1D5DB
#D1D5DB
#DBD1DA
#DBD1DA
#DBD7D1
#DBD7D1
#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.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 7035
#D7D7D7
Light grey
RAL 9018
#D7D7D7
Papyrus white
RAL 9003
#F4F4F4
Signal white
RAL 9016
#F6F6F6
Traffic white
RAL 9010
#FFFFFF
Pure white
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 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.