Color Values
- HEX
- #404040
- RGB
- rgb(64, 64, 64)
- HSL
- hsl(0, 0%, 25%)
- OKLCH
- oklch(0.371 0.000 0)
- CMYK
- cmyk(0%, 0%, 0%, 75%)
- CSS Variable
- var(--color-neutral-700)
- Tailwind Class
- bg-neutral-700
Accessibility Score
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
10.37:1
On Black
2.03:1
Tailwind Usage — All Utilities
Background
bg-neutral-700Text
text-neutral-700Border
border-neutral-700Ring
ring-neutral-700Outline
outline-neutral-700Fill
fill-neutral-700Stroke
stroke-neutral-700From (gradient)
from-neutral-700Via (gradient)
via-neutral-700To (gradient)
to-neutral-700Placeholder
placeholder-neutral-700Caret
caret-neutral-700Accent
accent-neutral-700Decoration
decoration-neutral-700Shadow Color
shadow-neutral-700Tailwind v3 Config (extend custom color)
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'neutral-700': '#404040',
},
},
},
};CSS Equivalent
/* Hex */
background-color: #404040;
/* RGB */
background-color: rgb(64, 64, 64);
/* HSL */
background-color: hsl(0, 0%, 25%);
/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.371 0.000 0);
/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-neutral-700);
/* Gradient example */
background: linear-gradient(135deg, #fafafa 0%, #262626 100%);OKLCH — Modern Color Space
Lightness (L)
0.371
37% perceived brightness
Chroma (C)
0.000
Color intensity / saturation
Hue (H)
0°
Angle on perceptual hue wheel
oklch(0.371 0.000 0)OKLCH is a perceptually uniform color space in CSS Color Level 4. Unlike HSL, equal steps in L produce equal perceived lightness changes — making it ideal for building accessible, harmonious design system scales.
Design Recommendations
Dark accent & pressed state
Shade 700 of the Neutral palette
Recommended Uses
- ✓Pressed/active button states
- ✓Text links on white
- ✓Dark-mode primary buttons
- ✓Table headers
- ✓Strong UI accents
Avoid
Preview
On White
Aa Bb Cc
On Black
Aa Bb Cc
As Background
Aa Bb Cc — #404040
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Neutral 700
Nearest Tailwind equivalent — #404040
Accessible Color Pairs
Color Combinations
Frequently Asked Questions
- What is the hex code for Tailwind Neutral 700?
- Tailwind Neutral 700 has the hex code #404040. Its RGB value is rgb(64, 64, 64) and its HSL value is hsl(0, 0%, 25%).
- What Tailwind utility classes use Neutral 700?
- Use bg-neutral-700 for backgrounds, text-neutral-700 for text color, border-neutral-700 for borders, and ring-neutral-700 for focus rings. In Tailwind v4 the CSS variable var(--color-neutral-700) is available natively.
- Is Tailwind Neutral 700 WCAG accessible?
- Tailwind Neutral 700 achieves a 10.37:1 contrast ratio on white (AAA) and 2.03:1 on black (Fail). Its overall accessibility score is 60/100 (Good).
- What is the OKLCH value for Tailwind Neutral 700?
- Tailwind Neutral 700 in OKLCH is oklch(0.371 0.000 0) — lightness 0.371, chroma 0.000, hue 0°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
- What is Tailwind Neutral 700 used for?
- At shade 700, Tailwind Neutral 700 is best described as "Dark accent & pressed state". Recommended uses: Pressed/active button states, Text links on white, Dark-mode primary buttons.