Color code and palette
Shades of Gray
Gray provides the structural neutrals behind most interface systems. Cool and warm values can establish hierarchy, separate surfaces and let chromatic accent colors carry meaning.
Gray #6B7280
Color formats
The same base color in common web formats.
HEX
#6B7280 RGB
rgb(107, 114, 128) HSL
hsl(220, 9%, 46%) OKLCH
oklch(55.0% 0.023 264.0) Gray provides the structural neutrals behind most interface systems. Cool and warm values can establish hierarchy, separate surfaces and let chromatic accent colors carry meaning.
Shades
| Color | Name | Hex | |
|---|---|---|---|
| White Smoke | #F9FAFB | ||
| Ghost White | #F3F4F6 | ||
| Gainsboro | #E5E7EB | ||
| Light Gray | #D1D5DB | ||
| Silver | #9CA3AF | ||
| Gray | #6B7280 | ||
| Dim Gray | #4B5563 | ||
| Dark Gray | #374151 | ||
| Charcoal | #1F2937 | ||
| Almost Black | #111827 | ||
| Slate Light | #F8FAFC | ||
| Slate Pale | #F1F5F9 | ||
| Slate | #E2E8F0 | ||
| Cool Gray | #CBD5E1 | ||
| Steel | #94A3B8 | ||
| Slate Gray | #64748B | ||
| Storm | #475569 | ||
| Gunmetal | #334155 | ||
| Dark Slate | #1E293B | ||
| Midnight | #0F172A |
Triadic color harmony
Three evenly spaced hues create a colorful but balanced starting palette.
Text contrast
These ratios use the WCAG relative luminance formula.
White textNaN:1
Black textNaN:1
Ways to use gray
01
Interface backgrounds and borders
02
Typography hierarchy
03
Professional monochrome layouts