X / Twitter
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% |
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.
A split-complementary palette is often preferred by professional designers because it balances visual interest with cohesion.
History & Design Context
Best Design Use Cases
Industries This Palette Suits
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.