Twitter Blue

#1DA1F2

Nearest Tailwind V4 Match
sky-500
97.9% Match
Implementation
bg-sky-500
text-sky-500

Full Calculated Scale

50
#e8f7ff
100
#ccf0ff
200
#9be0ff
300
#6ccaff
400
#38aaf7
500
#008ddd
600
#0075c1
700
#0062a8
800
#00518f
900
#00467c
950
#002b53

Technical Background

Converting Twitter Blue (#1DA1F2) to Tailwind CSS requires more than just picking the nearest hex. Our algorithm uses CIEDE2000, a perceptual color difference formula that accounts for how human vision processes lightness, chroma, and hue.

The generated scale follows the Tailwind CSS v4 OKLCH standard, ensuring perfectly uniform weight across the entire spectrum. This prevents common issues like "hue shifting" where colors turn purple or grey as they get darker or lighter. You can customize this further in our Palette Generator.

Frequently Asked Questions

What is the closest Tailwind class for Twitter Blue?

The closest visually matching Tailwind CSS class for Twitter Blue (#1DA1F2) is sky-500. Our algorithm calculates this using the CIEDE2000 ΔE standard, which shows a match score of 97.9%.

How do I use this color in my Tailwind config?

You have two options: use the native class bg-sky-500 for the best out-of-the-box match, or add #1DA1F2 directly to your Tailwind theme configuration for 100% brand accuracy.

Why use OKLCH for this scale?

Tailwind CSS v4 uses OKLCH because it is perceptually uniform. When we generate the 50-950 scale for Twitter Blue, OKLCH ensures that the color stays vibrant and doesn't shift towards different hues as it gets lighter or darker.

Need a custom palette?

Use our professional-grade generator to create a full theme from any custom hex code.

Open Generator