Skip to main content

bg-neutral-800

Tailwind Neutral 800

#262626·Neutral family·Shade 800

Color Values

HEX
#262626
RGB
rgb(38, 38, 38)
HSL
hsl(0, 0%, 15%)
OKLCH
oklch(0.269 0.000 0)
CMYK
cmyk(0%, 0%, 0%, 85%)
CSS Variable
var(--color-neutral-800)
Tailwind Class
bg-neutral-800

Accessibility Score

60/100

Good

Based on WCAG 2.1 contrast ratios against white and black backgrounds.

On White

15.13:1

AAA

On Black

1.39:1

Fail
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-neutral-800

Text

text-neutral-800

Border

border-neutral-800

Ring

ring-neutral-800

Outline

outline-neutral-800

Fill

fill-neutral-800

Stroke

stroke-neutral-800

From (gradient)

from-neutral-800

Via (gradient)

via-neutral-800

To (gradient)

to-neutral-800

Placeholder

placeholder-neutral-800

Caret

caret-neutral-800

Accent

accent-neutral-800

Decoration

decoration-neutral-800

Shadow Color

shadow-neutral-800

Tailwind v3 Config (extend custom color)

// tailwind.config.js module.exports = { theme: { extend: { colors: { 'neutral-800': '#262626', }, }, }, };

CSS Equivalent

/* Hex */
background-color: #262626;

/* RGB */
background-color: rgb(38, 38, 38);

/* HSL */
background-color: hsl(0, 0%, 15%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.269 0.000 0);

/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-neutral-800);

/* Gradient example */
background: linear-gradient(135deg, #fafafa 0%, #171717 100%);

OKLCH — Modern Color Space

Lightness (L)

0.269

27% perceived brightness

Chroma (C)

0.000

Color intensity / saturation

Hue (H)

Angle on perceptual hue wheel

oklch(0.269 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

Deep tone for text & UI

Shade 800 of the Neutral palette

Recommended Uses

  • Heading text on white
  • Icon fills on light backgrounds
  • Dark sidebar fills
  • Strong badge colors
  • Section dividers

Avoid

On colored or dark backgrounds — check contrast ratio first.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #262626

Frequently Asked Questions

What is the hex code for Tailwind Neutral 800?
Tailwind Neutral 800 has the hex code #262626. Its RGB value is rgb(38, 38, 38) and its HSL value is hsl(0, 0%, 15%).
What Tailwind utility classes use Neutral 800?
Use bg-neutral-800 for backgrounds, text-neutral-800 for text color, border-neutral-800 for borders, and ring-neutral-800 for focus rings. In Tailwind v4 the CSS variable var(--color-neutral-800) is available natively.
Is Tailwind Neutral 800 WCAG accessible?
Tailwind Neutral 800 achieves a 15.13:1 contrast ratio on white (AAA) and 1.39:1 on black (Fail). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Neutral 800?
Tailwind Neutral 800 in OKLCH is oklch(0.269 0.000 0) — lightness 0.269, chroma 0.000, hue 0°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Neutral 800 used for?
At shade 800, Tailwind Neutral 800 is best described as "Deep tone for text & UI". Recommended uses: Heading text on white, Icon fills on light backgrounds, Dark sidebar fills.