Skip to content
Private: files never leave your device

Color Converter

Type or pick a colour in any format and get it in all the others: HEX, RGB, HSL, HSV, CMYK, OKLCH and code for Android and Swift, plus contrast scores and shades.

Color Converter tool

HEX, RGB, HSL, HSV, CMYK and OKLCH, with contrast and shades.

Handled on your device, so your files stay private.

Color Converter at a glance

Convert any colour between HEX, RGB, HSL, HSV, CMYK and OKLCH, with contrast checks against white and black and a set of shades. Copy any value in one click.

Cost
Free to use, with no account, watermark or usage cap.
Privacy
Processing happens on your device; nothing is sent to our servers.
Devices
Up-to-date Chrome, Edge, Firefox or Safari on computers, Android phones and iPhones.
Last updated

Converting a colour, step by step

  1. Type a colour such as #2563eb, rgb(37 99 235), hsl(221 83% 53%) or coral, or use the picker.
  2. Read the same colour in every format.
  3. Check the contrast against white and black for accessible text.
  4. Copy any value, or click a shade to use it instead.

Every format you need

  • HEX and RGB for web and design apps.
  • HSL and HSV for adjusting lightness and saturation.
  • CMYK as a starting point for print.
  • OKLCH, the modern CSS colour space with even lightness steps.

Accessible contrast

The contrast ratio follows WCAG 2: 4.5:1 is needed for normal text (AA), 3:1 for large text and 7:1 for AAA.

Frequently asked questions

Is CMYK exact for printing?

It is a simple conversion without a printer profile. Ask your printer for their profile for exact colours.

Can I use alpha transparency?

Yes. Enter #RRGGBBAA, rgba() or hsla() and the alpha is kept in the HEX, RGB and HSL output.

Is it free?

Yes. No account, no limits and no watermark.