Color Converter

Everything runs on your device. Nothing is sent anywhere.

How to convert colors

  1. 1Type a color like #2563EB, or click the swatch to pick one.
  2. 2Copy the format you need.
  3. 3Check the contrast results before using it for text.

Click the color to pick a new one.

HEX
#2563EB
RGB
rgb(37 99 235)
HSL
hsl(221 83% 53%)
HSV
hsv(221, 84%, 92%)
CMYK
cmyk(84%, 58%, 0%, 8%)
OKLCH
oklch(54.6% 0.215 262.9)
Aa

On white: 5.17 : 1

Passes AA

Aa

On black: 4.06 : 1

Passes AA large text

Lighter and darker

Type or pick a color and get it in every format. Check if it is readable as text.

How to convert colors

  1. 1Type a color like #2563EB, or click the swatch to pick one.
  2. 2Copy the format you need.
  3. 3Check the contrast results before using it for text.

Questions

Is my data private?

Yes. Everything runs inside your browser. Nothing you type or open is sent to a server or saved anywhere.

Which formats can I type?

HEX (#2563EB or #26E), rgb(), hsl() and color names like tomato. Commas or spaces both work.

What do AA and AAA mean?

Readability levels from the WCAG guidelines. AA needs a contrast of 4.5 to 1 for normal text. AAA needs 7 to 1.

Is the CMYK value exact for print?

No. It is a simple conversion. Printers use color profiles, so check with your print shop for exact colors.

Is it free?

Yes. It is free with no signup and no limits.

More Developer tools

See all