Skip to main content

bg-neutral-950

Tailwind Neutral 950

#0A0A0A·Neutral family·Shade 950

Color Values

HEX
#0A0A0A
RGB
rgb(10, 10, 10)
HSL
hsl(0, 0%, 4%)
OKLCH
oklch(0.145 0.000 0)
CMYK
cmyk(0%, 0%, 0%, 96%)
CSS Variable
var(--color-neutral-950)
Tailwind Class
bg-neutral-950

Accessibility Score

60/100

Good

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

On White

19.8:1

AAA

On Black

1.06:1

Fail
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-neutral-950

Text

text-neutral-950

Border

border-neutral-950

Ring

ring-neutral-950

Outline

outline-neutral-950

Fill

fill-neutral-950

Stroke

stroke-neutral-950

From (gradient)

from-neutral-950

Via (gradient)

via-neutral-950

To (gradient)

to-neutral-950

Placeholder

placeholder-neutral-950

Caret

caret-neutral-950

Accent

accent-neutral-950

Decoration

decoration-neutral-950

Shadow Color

shadow-neutral-950

Tailwind v3 Config (extend custom color)

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

CSS Equivalent

/* Hex */
background-color: #0A0A0A;

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

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

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

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

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

OKLCH — Modern Color Space

Lightness (L)

0.145

14% perceived brightness

Chroma (C)

0.000

Color intensity / saturation

Hue (H)

Angle on perceptual hue wheel

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

Ultra-dark near-black variant

Shade 950 of the Neutral palette

Recommended Uses

  • Maximum-contrast text on white
  • Rich dark card backgrounds
  • Dark theme page backgrounds
  • Tinted near-black UI surfaces

Avoid

On dark or dark-gray backgrounds — near-zero contrast.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #0A0A0A

Frequently Asked Questions

What is the hex code for Tailwind Neutral 950?
Tailwind Neutral 950 has the hex code #0A0A0A. Its RGB value is rgb(10, 10, 10) and its HSL value is hsl(0, 0%, 4%).
What Tailwind utility classes use Neutral 950?
Use bg-neutral-950 for backgrounds, text-neutral-950 for text color, border-neutral-950 for borders, and ring-neutral-950 for focus rings. In Tailwind v4 the CSS variable var(--color-neutral-950) is available natively.
Is Tailwind Neutral 950 WCAG accessible?
Tailwind Neutral 950 achieves a 19.8:1 contrast ratio on white (AAA) and 1.06:1 on black (Fail). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Neutral 950?
Tailwind Neutral 950 in OKLCH is oklch(0.145 0.000 0) — lightness 0.145, chroma 0.000, hue 0°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Neutral 950 used for?
At shade 950, Tailwind Neutral 950 is best described as "Ultra-dark near-black variant". Recommended uses: Maximum-contrast text on white, Rich dark card backgrounds, Dark theme page backgrounds.