1Convert Tailwind Blue to All Formats
Inputs
Result
Tailwind's blue-500 (#3B82F6) converts to RGB 59, 130, 246 and HSL 217°, 91%, 60%. Its complementary color is orange.
Color
#3B82F6
RGB
59, 130, 246
HSL
217° 91% 60%




As an Amazon Associate, we earn from qualifying purchases.
Inputs
Result
Tailwind's blue-500 (#3B82F6) converts to RGB 59, 130, 246 and HSL 217°, 91%, 60%. Its complementary color is orange.
Inputs
Result
Forest green (34, 139, 34) has a hue of 120°. Its complementary is magenta, analogous colors are yellow-green and teal.
Split the six-character hex code into three pairs and convert each pair from base-16 to base-10. For example, #3B82F6 becomes R=59, G=130, B=246. The first pair is the red channel, the second is green, and the third is blue.
| Color | HEX | RGB | HSL |
|---|---|---|---|
| Red | #FF0000 | 255, 0, 0 | 0°, 100%, 50% |
| Blue | #0000FF | 0, 0, 255 | 240°, 100%, 50% |
| Green | #00FF00 | 0, 255, 0 | 120°, 100%, 50% |
HSL stands for Hue, Saturation, and Lightness. Hue is the color angle on a 360-degree wheel (0=red, 120=green, 240=blue). Saturation controls vibrancy from 0% (gray) to 100% (full color). Lightness ranges from 0% (black) to 100% (white) with 50% being the pure color.
Complementary colors sit directly opposite each other on the color wheel, exactly 180 degrees apart. They create maximum contrast and visual tension. Blue (#3B82F6) and orange (#F6923B) are complementary. Use them for call-to-action buttons against a contrasting background.
HSL is best for CSS custom properties and theming because you can adjust lightness independently. HEX is compact and widely supported. RGB is useful when you need alpha transparency (rgba). Modern CSS supports all three formats equally.
WCAG 2.1 requires a minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text (18px+ bold or 24px+). Dark text on light backgrounds generally provides better readability. Test your color pairs with a contrast checker before committing to a palette.
Discover tools for design, measurement, conversion, and more.
Last Updated: Mar 16, 2026
This calculator is provided for informational and educational purposes only. Results are estimates and should not be considered professional financial, medical, legal, or other advice. Always consult a qualified professional before making important decisions. UseCalcPro is not responsible for any actions taken based on calculator results.