Python Blue

#306998

Nearest Tailwind V4 Match
sky-700
97.4% Match
Implementation
bg-sky-700
text-sky-700

Color Code Conversions

HEX Code
#306998
RGB Value
rgb(48, 105, 152)
HSL Value
hsl(207, 52%, 39%)
OKLCH CSS (v4)
oklch(0.505 0.096 246.2)

Full Calculated Scale

50
#eef6ff
100
#daeeff
200
#b7dcff
300
#95c7f3
400
#71a7d7
500
#538cbd
600
#3c73a2
700
#2f628c
800
#235176
900
#1e4566
950
#0c2b43

Technical Background

Converting Python Blue (#306998) 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.

Other colors matching sky-700

Frequently Asked Questions

What is the closest Tailwind class for Python Blue?

The closest visually matching Tailwind CSS class for Python Blue (#306998) is sky-700. Our algorithm calculates this using the CIEDE2000 ΔE standard, which shows a match score of 97.4%.

How do I use this color in my Tailwind config?

You have two options: use the native class bg-sky-700 for the best out-of-the-box match, or add #306998 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 Python 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