Tints & Shades
50
100
200
300
400
500
600
700
800
900
Scale from white (50) through Onyx (500) to black (900), interpolated in Lab color space.
Color Values
- HEX
- #353839
- RGB
- rgb(53, 56, 57)
- HSL
- hsl(195, 4%, 22%)
- OKLCH
- oklch(0.338 0.004 220)
- CMYK
- cmyk(7%, 2%, 0%, 78%)
--color-onyxbg-[#353839]Accessibility
Score: 96/100On White (#FFF)
11.82:1
On Black (#000)
1.78:1
On Light Gray (#F5F5F5)
10.84:1
Best text color on this background:
Design Applications
background-color: #353839
color: #353839
bg-[#353839] text-[#FFFFFF]
border-left: 4px solid #353839
Color Harmonies
Complementary
Papaya
#FF9470
Split-Complementary
Similar Colors
Color Meaning & Psychology
Black absorbs all light and reflects none. It is the ultimate authority color — the color of formality, power, and sophisticated elegance. Black creates maximum contrast with other colors, making it a universal text and typography choice. In luxury branding, black signals exclusivity, restraint, and quality. In tech, matte black finishes convey premium build. Black clothing was historically mourning dress, then the Chanel "little black dress" made it the epitome of timeless style. In interface design, dark mode has made black backgrounds mainstream, valued for reduced eye strain and OLED power efficiency. Black's psychological weight means it should be deployed with intentionality — it commands the eye and the room. Its near-neutral saturation gives it a versatile, subdued character that works as a sophisticated accent without dominating a composition.
Industry Usage
Common contexts and industries where Onyx is applied in professional design.
- Luxury fashion and premium apparel
- Prestige automotive brands
- High-end watches and jewelry
- Premium spirits and beverage brands
- Professional photography and videography
- Technology brands emphasizing premium tiers
- Music and entertainment industry branding
- Sophisticated cosmetics and fragrance
Accessibility Considerations
Normal Text
Passes AA
4.5:1 minimum required
Large Text
Passes AA Large
3:1 minimum required
UI Components
Meets 1.4.11
3:1 for non-text UI
Onyx is a dark color. Use white (#FFFFFF) text on top of it for maximum readability (11.82:1). Avoid small black text on this background.
CSS & Code Examples
Background
background-color: #353839;Text
color: #353839;Border
border: 2px solid #353839;Box Shadow
box-shadow: 0 4px 20px #35383940;Gradient
background: linear-gradient(135deg, #353839, #5f6263);Tailwind-style
--color-onyx: #353839;Tailwind CSS Utilities
Use arbitrary value syntax in Tailwind CSS to apply Onyx without a custom config.
Background
bg-[#353839]Text
text-[#353839]Border
border-[#353839]Ring
ring-[#353839]Fill
fill-[#353839]From (gradient)
from-[#353839]Via (gradient)
via-[#353839]To (gradient)
to-[#353839]Design Tokens
Ready-to-use Onyx design token in CSS custom properties, SCSS, Tailwind v3/v4, and JSON formats.
CSS Custom Properties
:root {
--color-onyx: #353839;
--color-onyx-rgb: 53, 56, 57;
--color-onyx-hsl: 195, 4%, 22%;
}SCSS Variables
$color-onyx: #353839; $color-onyx-rgb: 53, 56, 57; $color-onyx-hsl: 195, 4%, 22%;
Tailwind v3 Config
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'onyx': '#353839',
},
},
},
};Tailwind v4 (@theme)
/* tailwind.css */
@theme {
--color-onyx: #353839;
}JSON Design Token (W3C format)
{
"onyx": {
"value": "#353839",
"type": "color",
"description": "Onyx — #353839"
}
}Related Palettes & Combinations
Color Combinations
More black colors
View all →What Does Onyx Mean? Color Psychology & Cultural Symbolism
Onyx (#353839) communicates with the authority of absolute contrast—the darkest possible tone in the visual spectrum. Color psychology describes black as "terminal" in the sense that it resolves into certainty rather than possibility: it projects authority as a concluded fact, not an invitation.
- Across color psychology research, black consistently tests high for "luxury" associations, making Onyx a reliable vehicle for authority in cross-demographic audiences.
- Brand designers draw on black-family tones to project precision and power—values that Onyx communicates in a dark key.
- At 4% saturation, Onyx reads as neutral—Warm near-blacks (very dark browns, dark charcoal) soften pure black's coldness while retaining its authority—increasingly used in luxury and contemporary design as alternatives.
- Onyx's dark lightness (22%) shifts its psychological register: Pure and near-black tones are maximum design authority—the most contrast-giving background in all of design, and the foundation of luxury aesthetics worldwide.
Onyx is the most serious design choice. Make it when you mean it.
How to Use Onyx in Design: Applications, Pairings & Best Practices
Onyx is the designer's most powerful tool and most dangerous one. Its absolute authority concentrates attention perfectly—but used carelessly, it smothers what it should highlight.
- Avoid: children's products, healthcare spaces (clinical coldness without warmth), and brands that need to communicate friendliness or approachability as primary values.
- Color harmonies: Onyx's complementary color creates a high-energy split ideal for promotional design; its analogous palette (±30° hue) builds cohesive, monochromatic sophistication.
- Proportional use: Onyx's neutral quality means it scales well across proportions—from full-bleed backgrounds to single-pixel borders—making it an unusually versatile palette component.
- As a dark tone, Onyx creates maximum contrast with white and light neutrals—excellent for creating premium dark-mode sections, bold headers, and high-drama brand moments
- Typography: Onyx works as a background behind white text but requires careful sizing—test at intended heading and body sizes before finalizing.
Onyx is the most serious design choice. Make it when you mean it.
Onyx Accessibility: WCAG Contrast Ratios, Color Blindness & Inclusive Design
Onyx (#353839) achieves a 11.82:1 contrast ratio with white text, surpassing the WCAG 2.1 AAA threshold of 7:1. This exceptional contrast qualifies it for body text, UI components at any size, and all accessibility-sensitive interface contexts. Relative luminance: 3.9%.
- As text on white (#FFFFFF): 11.82:1 — AAA ✓
- As text on black (#000000): 1.78:1 — Fail
- Best text color on Onyx background: White (#FFFFFF) at 11.82:1
- WCAG 2.1 luminance: 3.9% — low luminance (dark)—it provides strong contrast for white and light overlaid text, functioning well as a background in dark-mode and header contexts
- Onyx qualifies for all text sizes including small body copy (AAA).
Always verify Onyx at its final intended size and weight using a real contrast checker—font weight and rendering environment affect perceived legibility beyond what raw ratios capture.
Onyx in Industry: Branding, Design & Market Applications
Across industry research, black-family tones consistently outperform competitors in categories built on power, sophistication, authority, and elegance. Onyx is a dark expression of this advantage—best positioned in Luxury & Fashion and adjacent markets.
- Luxury & Fashion: Black is luxury's default language—from Chanel's packaging to Apple's product photography, it signals premium, exclusive, and uncompromising quality. In fashion, it's simultaneously the most versatile and the most authoritative choice. Matte black signals premium restraint; glossy black signals dramatic luxury. The finish matters as much as the color.
- Technology: Dark mode interfaces and premium device aesthetics have made black a technology color as much as a luxury one. Apple's product line, premium audio equipment, and high-end consumer electronics all use black to signal technical precision and premium positioning. (examples: Notion, Slack, Salesforce) Black in tech interfaces benefits from accent colors that pop against it—cyan, neon, and pure white are classic pairings.
- Media & Entertainment: Movie credits, music packaging, editorial magazine design, and streaming platforms use black to focus attention and signal cultural seriousness. It's the color of concentrated attention—everything unnecessary falls away in a black-dominated design. (examples: Spotify, Netflix, Hulu) The black-and-white combination is the most timeless in editorial design for its ability to focus on content without visual noise.
- Brand positioning: Onyx is best suited for brands projecting precision, power, sophistication. Categories outside this positioning—children's products—tend to see weaker results.
- Adjacent applications: Beyond primary industries, Onyx works effectively in editorial design, high-end brand identities, dark-mode interfaces—contexts where elegance serves a secondary but reinforcing role.
Onyx earns its strongest ROI in industries where trust and recognition compound over time: Luxury & Fashion, Technology, Media & Entertainment. Use it to build the kind of brand recognition that decades reinforce.
Accessibility & Design Guides
Frequently Asked Questions
- What is the hex code for Onyx? ▾
- The hex code for Onyx is #353839. Its RGB values are rgb(53, 56, 57) and its HSL values are hsl(195, 4%, 22%).
- What does Onyx mean in design? ▾
- Black absorbs all light and reflects none. It is the ultimate authority color — the color of formality, power, and sophisticated elegance. Black creates maximum contrast with other colors, making it a universal text and typography choice. In luxury branding, black signals exclusivity, restraint, and quality. In tech, matte black finishes convey premium build. Black clothing was historically mourning dress, then the Chanel "little black dress" made it the epitome of timeless style. In interface design, dark mode has made black backgrounds mainstream, valued for reduced eye strain and OLED power efficiency. Black's psychological weight means it should be deployed with intentionality — it commands the eye and the room. Its near-neutral saturation gives it a versatile, subdued character that works as a sophisticated accent without dominating a composition.
- Is Onyx WCAG accessible? ▾
- Onyx (#353839) passes WCAG AAA on white with a 11.82:1 contrast ratio. Its overall accessibility score is 96/100.
- What colors go well with Onyx? ▾
- Onyx pairs well with its complementary color Papaya (#FF9470). Analogous colors like Opal and Iron Gray also work harmoniously. Check the Color Harmonies section above for the full palette.
- What is Onyx used for? ▾
- Onyx is commonly used for: Luxury fashion and premium apparel; Prestige automotive brands; High-end watches and jewelry; Premium spirits and beverage brands; Professional photography and videography.
- What are the CSS and Tailwind values for Onyx? ▾
- In CSS, use `color: #353839` or `background-color: #353839`. The CSS custom property is `--color-onyx: #353839`. In Tailwind CSS, use the arbitrary value class `bg-[#353839]` for backgrounds or `text-[#353839]` for text.