#000000
#FFFFFF
#1D9BF0
#536471
Background
Primary Accent
Secondary
Body Text

X / Twitter Color Palette

#000000 · #FFFFFF · #1D9BF0 · #536471

Fail
WCAG Grade
3.4:1
Contrast Ratio
2,800
Saves
7,400
AI Copies
AI Prompt

Use #000000 as the background. Use #FFFFFF as the primary accent. Use #1D9BF0 as secondary. Use #536471 as body text/supporting color. Palette mood: X / Twitter — night, minimal, bold.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the X / Twitter color scheme. Use these values for web design (HEX/RGB), print projects (CMYK), or specialized design software (HSL).

Swatch Design Role HEX RGB CMYK HSL
Background
Luminance: 0.0%
0, 0, 0 0%, 0%, 0%, 100% 0°, 0%, 0%
Primary Accent
Luminance: 100.0%
255, 255, 255 0%, 0%, 0%, 0% 0°, 0%, 100%
Secondary
Luminance: 30.0%
29, 155, 240 88%, 35%, 0%, 6% 204°, 88%, 53%
Body Text
Luminance: 12.1%
83, 100, 113 27%, 12%, 0%, 56% 206°, 15%, 38%

X / Twitter Tints & Shades

Hover states, borders and elevation need lighter and darker steps of your base colors. Here are computed tints and shades for every color in the X / Twitter palette — click any swatch to copy its hex.

#000000 neutral gray
#FFFFFF neutral gray
#1D9BF0 saturated cyan-blue
#536471 muted cyan-blue

X / Twitter Palette Contrast Matrix (WCAG 2.1)

Every color tested as text on every other color as background. Body copy needs 4.5:1 (AA), large text and UI components 3:1. AAA requires 7:1.

Text on Background Preview Ratio Grade Safe For
#FFFFFF on #000000
Aa Sample Text
21.00:1 AAA Body text, headings, UI
#000000 on #FFFFFF
Aa Sample Text
21.00:1 AAA Body text, headings, UI
#1D9BF0 on #000000
Aa Sample Text
7.00:1 AA Body text, UI
#000000 on #1D9BF0
Aa Sample Text
7.00:1 AA Body text, UI
#536471 on #FFFFFF
Aa Sample Text
6.12:1 AA Body text, UI
#FFFFFF on #536471
Aa Sample Text
6.12:1 AA Body text, UI
#536471 on #000000
Aa Sample Text
3.43:1 Fail Large headings, UI components
#000000 on #536471
Aa Sample Text
3.43:1 Fail Large headings, UI components
#1D9BF0 on #FFFFFF
Aa Sample Text
3.00:1 Fail Large headings, UI components
#FFFFFF on #1D9BF0
Aa Sample Text
3.00:1 Fail Large headings, UI components
#536471 on #1D9BF0
Aa Sample Text
2.04:1 Fail Decorative use only
#1D9BF0 on #536471
Aa Sample Text
2.04:1 Fail Decorative use only

X / Twitter Color Psychology & Meaning

Twitter's rebrand to X created one of the most controversial palette shifts in tech history. Black and white at maximum contrast — confidence or aggression depending on your view.

Color Harmony: Split-Complementary Scheme

The X / Twitter palette is built using a split-complementary relationship between its hues. This ensures that even with high-contrast accents, the overall scheme feels balanced and intentional.

Hue Wheel

A split-complementary palette is often preferred by professional designers because it balances visual interest with cohesion.

History & Design Context

Twitter launched with a blue bird in 2006. Elon Musk's X rebrand in 2023 stripped all color — a brutalist statement about the platform's ambitions.

Best Design Use Cases

Black and white only for the core UI. Legacy blue as an accent for tweets and links. The starkness requires exceptional typography.

Industries This Palette Suits

Social media, news, communication platforms.

Colors That Pair Well With X / Twitter

Need a fifth color? These three companions are computed from the palette's own hue positions on the color wheel, so they extend the scheme without breaking its harmony.

teal

directly opposite #FFFFFF on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

orange

30° beside #FFFFFF — a calm secondary that extends the palette without adding tension

tinted neutral

a paper-white carrying the palette's own hue — perfect for surfaces and dividers

Using X / Twitter Without Breaking Accessibility

  • Use #FFFFFF for buttons and links — it scores 21.0:1 against the #000000 background (above the 3:1 UI-components threshold).
  • Don't set body copy in #536471 on #000000 — 3.4:1 fails WCAG AA; keep it for large decorative headings only.
  • Let #1D9BF0 carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #FFFFFF.

How to Implement the X / Twitter Color Scheme

To use this X / Twitter color palette in your web project, you can copy the following CSS variables or Tailwind CSS configuration. These roles ensure your UI maintains accessibility and visual hierarchy.

Option 1: CSS Variables

:root { 
  /* {name} Palette - ihatecolors.com */{'
'}  --color-bg: {colors[0]};{'
'}  --color-primary: {colors[1]};{'
'}  --color-secondary: {colors[2]};{'
'}  --color-text: {colors[3]};{'
'} {'}'}

Web Design Tip

Use #000000 for the main background and #FFFFFF for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #536471 and #000000 is 3.43:1 (Fail). Ensure your body text remains legible.

X / Twitter Palette — Frequently Asked Questions

What are the hex codes in the X / Twitter color palette?

The X / Twitter palette contains #000000, #FFFFFF, #1D9BF0, #536471. Click any swatch on this page to copy its value, or export all four at once as CSS variables, Tailwind config, SCSS or a Figma-ready list.

Is the X / Twitter color palette accessible (WCAG)?

Yes for its strongest pairings: #FFFFFF on #000000 reaches 21.0:1 (AAA). For body text always keep a 4.5:1 ratio and for large UI elements 3:1 — the full contrast matrix above shows the exact score for every color-on-color combination in this palette.

What colors go well with the X / Twitter palette?

Beyond its own four colors, #B3B3B3, #FFFFFF, #EEECEC extend it naturally: the complementary hue for high-energy accents, an analogous neighbor for calm transitions, and a tinted neutral for surfaces. All three are computed from this palette's hues on the color wheel.

What mood does the X / Twitter palette create?

X / Twitter reads as night, minimal, bold. Neutral gray drives the personality, grounded by neutral gray — a combination that works best when the deep base gets most of the canvas.

Can I use the X / Twitter color palette commercially?

Yes. Individual color values can't be copyrighted, so the X / Twitter palette is free for personal, client and commercial work — websites, branding, apps, print and social content, with no attribution required.

How do I add the X / Twitter palette to Tailwind or CSS?

Use the export panel on this page: CSS variables, a Tailwind config block, SCSS variables, or a Figma copy list are generated from X / Twitter's exact values, including the tint and shade ramps shown above.

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content