HomeCode & DeveloperColor Picker & Converter

Color Picker & Converter

Hue221°
Alpha
100%
r59
g130
b246

Palette

#3B82F6
royalblue
HEX#3B82F6
HEX8#3B82F6FF
RGBrgb(59, 130, 246)
RGBArgba(59, 130, 246, 1.00)
HSLhsl(217deg 91% 60%)
HSLAhsla(217deg 91% 60% / 1.00)
HSVhsv(217deg 76% 96%)
CMYKcmyk(76% 47% 0% 4%)
OKLCHoklch(62.3% 0.188 259.8)

WCAG Accessibility

3.67:1
vs White
AA AAA
5.70:1
vs Black
AA AAA

Color Harmonies

Base
#3B83F6
#F6AE3B

Color Variations

Shades (→ Black)

50950

Tints (→ White)

50950

Tones (→ Gray)

50950

Color Blindness Simulation

Original
#3B82F6
Protanopia
#5A5ADA
Deuteranopia
#5650D3
Tritanopia
#3FC4BF
Achromatopsia
#7A7A7A

What is a Color Picker & Converter?

Color Picker & Converter is an online tool for finding the exact color you need and reading it out in every format developers and designers rely on. Drag inside the color space to choose any hue, saturation, and brightness, then copy the result as HEX, RGB, HSL, HSV, CMYK, or OKLCH — or type a color code in any of these formats and watch every other value update instantly. Because everything runs in your browser, your colors never leave the page.

A color picker hides the math behind color. Instead of memorizing which numbers produce the blue you want, point at it and the tool reports its true value in the format you need — letting a designer and a developer share one exact color.

Why use an online Color Picker?

  • One source of truth: pick once and read the color as HEX, RGB, HSL, HSV, CMYK, and OKLCH without rounding by hand.
  • Copy-ready values: every format has a one-click copy button, so you paste directly into code, CSS, or your design tool.
  • Design systems built in: shades, tints, and tones generate full palettes from one base color, and harmonies like complementary and triadic suggest proven pairings.
  • Accessibility built in: live WCAG contrast ratios show whether text in this color stays readable on white or black.

HEX codes and the RGB color model

A HEX color like #3b82f6 describes red, green, and blue channels. Each pair of digits is one channel in base 16: 3b is 59 red, 82 is 130 green, f6 is 246 blue. With 256 possible values per channel, a 6-digit HEX code represents 16,777,216 colors — everything a standard screen can display. An optional eighth digit adds translucency, letting a background show through.

Color spaces: HSL, HSV, CMYK, and OKLCH

HSL (hue, saturation, lightness) describes a color the way people do: 221° places it on the wheel, 91% is how vivid it is, and 60% how close it sits to white or black. CSS accepts HSL directly, which is why it is so common in stylesheets.

HSV (hue, saturation, value) mirrors HSL but measures brightness instead of lightness, matching how this tool's color space is drawn — horizontal is saturation, vertical is brightness.

CMYK (cyan, magenta, yellow, key) is the print model. Ink absorbs light instead of emitting it, and CMYK tells a printer which inks to lay down.

OKLCH (lightness, chroma, hue) is a modern perceptual space where equal steps look equal to the human eye. Design systems use it to author consistent color scales.

What are shades, tints, and tones?

You rarely want a single color — you want a family. Shades mix with black to darken, tints mix with white to lighten, and tones mix with gray to mute. Together they form the hover states, borders, and backgrounds of a cohesive interface, generated automatically from any base color.

Using color harmonies

Harmonies are colors chosen from the wheel for pleasing combinations. Complementary colors sit opposite each other for strong contrast, analogous sit side by side for calm cohesion, triadic form an equilateral triangle for balanced energy, and tetradic combine two complementary pairs. All are generated instantly from your selection.

How to use the Color Picker & Converter online

Drag the cursor in the color space to choose a color and slide the hue bar to spin through the spectrum. Adjust the alpha slider for transparency or click a palette swatch, then copy the value in whichever format your project needs. To jump to an exact color, type a HEX code, rgb(), hsl(), hsv(), cmyk(), oklch(), or a name like coral — every readout converts and updates to match.

Enjoying the tools? Support the project!

Buy me a coffee