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
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
19.8:1
On Black
1.06:1
Tailwind Usage — All Utilities
Background
bg-neutral-950Text
text-neutral-950Border
border-neutral-950Ring
ring-neutral-950Outline
outline-neutral-950Fill
fill-neutral-950Stroke
stroke-neutral-950From (gradient)
from-neutral-950Via (gradient)
via-neutral-950To (gradient)
to-neutral-950Placeholder
placeholder-neutral-950Caret
caret-neutral-950Accent
accent-neutral-950Decoration
decoration-neutral-950Shadow Color
shadow-neutral-950Tailwind 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)
0°
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
Preview
On White
Aa Bb Cc
On Black
Aa Bb Cc
As Background
Aa Bb Cc — #0A0A0A
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Neutral 950
Nearest Tailwind equivalent — #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.