All tools

Color Converter & Picker

Convert colors between HEX, RGB, HSL, and HSB. Check WCAG contrast and generate palettes.

Browser onlyYour input is processed in this browser and is not sent to SpeedyTools servers.
Share:
Color Picker
CSS Values
#3b82f6
rgb(59, 130, 246)
hsl(217, 91%, 60%)
Color Harmonies

Complementary

#3c83f6
#f6af3c

Analogous

#3ce0f6
#523cf6
#3c83f6

Triadic

#3c83f6
#f63c83
#83f63c

Split-Complementary

#3c83f6
#f6523c
#e0f63c
About the color converter

This tool converts colors between HEX, RGB, HSL, and HSB/HSV. Enter a value in any format and copy it out in the format your CSS, design tool, or style guide needs.

The Contrast tab checks a text and background pair against the WCAG AA and AAA ratios. The Palette tab generates shades, tints, and color harmonies from your selected color.

Features
Real-time conversion between HEX, RGB, HSL, and HSB
Native color picker with visual swatch preview
WCAG AA/AAA contrast ratio checker
Complementary, analogous, triadic, and split-complementary harmonies
Shade and tint palette generator
One-click copy for any value
CSS-ready output in all formats
Random color generator
Common use cases

Web design

Pick and convert colors for websites, landing pages, and UI designs

CSS development

Get ready-to-use CSS values in hex, rgb(), and hsl() formats

Accessibility

Check WCAG contrast ratios so text stays readable

Brand colors

Convert brand colors between formats for style guides and design systems

Frequently asked questions

How do I convert HEX to RGB?

Enter your HEX color code (e.g., #3b82f6) in the HEX input field. The tool converts it to RGB, HSL, and HSB values. You can also pick a color with the color picker.

What is the difference between HSL and HSB/HSV?

HSL (Hue, Saturation, Lightness) and HSB/HSV (Hue, Saturation, Brightness/Value) both describe colors using hue and saturation, but differ in the third component. HSL uses lightness (0% = black, 100% = white, 50% = pure color), while HSB uses brightness (0% = black, 100% = pure color). HSL is more common in CSS, while HSB is popular in design tools like Photoshop and Figma.

What WCAG contrast ratio do I need for accessible text?

WCAG 2.1 requires a minimum contrast ratio of 4.5:1 for normal text (AA level) and 3:1 for large text (AA level). For enhanced accessibility (AAA level), you need 7:1 for normal text and 4.5:1 for large text. Use the Contrast tab to check your color combinations.

How do color harmonies work?

Color harmonies are combinations of colors based on their position on the color wheel. Complementary colors are opposite each other (180 degrees apart), analogous colors are adjacent (30 degrees apart), triadic colors are evenly spaced (120 degrees apart), and split-complementary uses the two colors adjacent to the complement.

Can I generate a color palette from a single color?

Yes. The Palette tab shows 9 evenly spaced shades (darker) and tints (lighter) of your selected color. The Converter and Palette tabs also show harmony-based palettes (complementary, analogous, triadic, split-complementary).

Privacy first

All color conversions happen in your browser. Nothing is sent to a server.