Color Picker

Pick, convert, and explore colors — HEX, RGB, HSL, CMYK, harmony palettes, and WCAG contrast

Click to pick

Paste any color: HEX, RGB, HSL, HSV, HWB, CMYK, OKLCH, a color name and more.

TurquoiseDarkL: 23.5%
59
130
246

Saved Colors

5/20

Your colors and settings are saved in this browser.

Color Formats

hex#3b82f6
hex8#3b82f6
rgbrgb(59, 130, 246)
rgbargba(59, 130, 246, 1.00)
hslhsl(217, 91%, 60%)
hslahsla(217, 91%, 60%, 1.00)
hsvhsv(217, 76%, 96%)
cmykcmyk(76%, 47%, 0%, 4%)
nameturquoise
tailwind[#3b82f6]

Tints & Shades

Tints (lighter)

Shades (darker)

Color Harmony

#3b82f6
#f6af3c

WCAG Contrast

Sample text on your color

The quick brown fox jumps over the lazy dog.

Contrast ratio

Higher is better (max 21:1)

3.68:1
AA NormalFAIL

≥ 4.5:1 · Regular text

AA LargePASS

≥ 3:1 · 18pt+ or bold 14pt+

AAA NormalFAIL

≥ 7:1 · Enhanced readability

AAA LargeFAIL

≥ 4.5:1 · Large enhanced

WCAG 2.1 contrast ratios are calculated using relative luminance. AA level (4.5:1) is the minimum for normal text accessibility.

About the Color Picker

A color picker lets you choose a color and see it in every format. This one accepts HEX, RGB, HSL, HSV, HWB, CMYK, OKLCH and color names, converts between them instantly, builds harmony palettes, tints and shades, and checks WCAG contrast against another color.

WCAG contrast ratio

Contrast = (L1 + 0.05) ÷ (L2 + 0.05)

L1 is the relative luminance of the lighter color and L2 of the darker one. Normal text needs at least 4.5:1 for AA and 7:1 for AAA.

How to use the Color Picker

  1. Type or paste a color in any format, or click the swatch to use the picker.
  2. Adjust the RGB, HSL or alpha sliders, or try the random button.
  3. Copy the format you need, such as HEX, RGB, HSL or CMYK.
  4. Explore harmonies, tints and shades, and check the contrast against another color.

Color Picker – frequently asked questions