Skip to content
dashutils

Color Converter

Convert a colour between every common notation, check text contrast against WCAG, and generate tints and shades for a palette.

  • Free, no sign-up
  • Runs locally in your browser
Loading tool…

Your files are processed on this device and are never uploaded to a server.

How to use the Color Converter

  1. 1

    Enter a colour in any format or use the picker.

  2. 2

    Copy the value you need.

  3. 3

    Check contrast and palette shades.

Contrast ratio

WCAG AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. The checker shows the ratio against white, black and a colour you choose.

Which format to use where

HEX (#3b4fe4) and RGB are the standard for web and app code. HSL describes a colour by hue, saturation and lightness, which makes it easy to create lighter or darker versions by changing one number. CMYK is for print, but screen-to-print conversion is approximate because printers depend on paper and ink profiles. OKLCH is a newer CSS format whose lightness matches how bright colours actually look, so palettes built with it stay even.

Readable colour combinations

The contrast checker compares your colour against text colours using the WCAG formula. Body text needs a ratio of at least 4.5:1 to meet level AA, large text 3:1, and level AAA asks for 7:1. The generated tints and shades step lightness evenly, giving you a ready-made scale for buttons, backgrounds and borders.

Frequently asked questions

How do I convert HEX to RGB?

Paste the HEX code and the RGB value appears instantly. Each pair of hex digits is one channel: #3B4FE4 is red 59, green 79, blue 228.

Why does my CMYK print look different?

Screens mix light and printers mix ink, and many bright screen colours can't be printed. Ask your printer for their colour profile for exact results.

Can I paste rgb() or hsl() values?

Yes. Paste a value like rgb(59, 79, 228) or hsl(233, 76%, 56%) and every other format appears.

Something not working, or missing a setting you need? Report a problem or request a tool.