Skip to content
OnlineToolStudio

Color Picker

runs in your browserno sign-upfree

Pick any colour and get its HEX, RGB, HSL, HSV, CMYK and OKLCH codes, with tints and shades, colour harmonies and a WCAG contrast check.

210°
100%
#1E90FFCSS name: dodgerblue

Edit any value to change the colour. Decimal RGB: 2003199 · Browse colour codes

Red, green and blue

30
144
255

Tints and shades

Lighter (mixed with white) to darker (mixed with black) in 10% steps. Click one to use it.

Colour harmonies

Complementary
Opposite on the colour wheel — strong contrast
Analogous
Neighbours — calm and harmonious
Triadic
Evenly spaced — vibrant but balanced
Split complementary
Softer than complementary
Tetradic
Four colours — rich palettes

Contrast (WCAG)

On white — Aa
3.24:1AA large
On black — Aa
6.49:1AA
White text on it — Aa
3.24:1AA large
Black text on it — Aa
6.49:1AA

Text needs at least 4.5:1 (AA) to be easy to read, or 3:1 for large text; 7:1 is AAA.

About this tool

Choose any colour by dragging in the colour square, sliding the hue, or typing a code — then copy it as HEX, RGB, HSL, HSV, CMYK or OKLCH. Below the picker you get lighter tints and darker shades, matching colour harmonies, and a WCAG contrast check showing whether the colour is readable as text on white or black. In Chrome and Edge you can also pick a colour from anywhere on your screen.

How to use

  1. Drag in the square to set saturation and brightness, and use the Hue slider to change the colour.
  2. Or type or paste a code in any of the boxes — HEX, rgb(), hsl(), a name like tomato.
  3. Copy the format you need, or click a tint, shade or harmony to use it instead.
  4. Check the contrast boxes before using the colour for text.

FAQ

What is the difference between HEX, RGB and HSL?

They describe the same colour in different ways. HEX (#1e90ff) and RGB (30, 144, 255) give the amounts of red, green and blue. HSL gives hue (0–360°), saturation and lightness, which makes it easy to adjust a colour — for example, raise the lightness for a paler version.

What is OKLCH?

A newer CSS colour format (supported by all modern browsers) based on how people see colour: L is lightness, C is chroma (colourfulness) and H is hue. Changing L in OKLCH gives a lighter or darker colour that still looks like the same hue, which is why design systems use it for palettes.

What contrast do I need for text?

WCAG asks for at least 4.5:1 between text and its background (AA), or 3:1 for large text (about 24px, or 19px bold). 7:1 meets the stricter AAA level. The four boxes show the ratio for your colour on white and black, and for white or black text on it.

How do I pick a colour from my screen or an image?

In Chrome and Edge, press Pick from screen and click anywhere — even outside the browser. In other browsers, or to pick from a photo, use the Image Color Picker tool.

What are tints, shades and harmonies?

Tints are your colour mixed with white, shades are it mixed with black. Harmonies are colours at set positions on the colour wheel: the opposite colour (complementary), its neighbours (analogous), or evenly spaced groups (triadic, tetradic) — a quick start for a palette.

Related tools

All tools