Color Picker

Pick a color and read it as HEX, RGB, HSL and OKLCH at the same time. See its shades, related colors and how text looks on it.

Recent Colors you pick or copy show up here.
#3D5AFE

Color values

  • HEX #3D5AFE
  • RGB rgb(61, 90, 254)
  • HSL hsl(231, 99%, 62%)
  • OKLCH oklch(55.5% 0.243 268.8)

Close to

Build a palette from this color

Shades and tints

Open in shades generator
Color harmony

Text on this color

White text The quick brown fox 5.13:1 · AA
Black text The quick brown fox 4.09:1 · AA large only

Need an exact pair? Use the contrast checker.

Pick, convert and copy colors

Drag inside the square to set saturation and brightness, and use the bar below it to choose the hue. You can also type or paste a value into any field — #3d5afe, rgb(61, 90, 254),hsl(231, 99%, 62%) or oklch(55% 0.24 268) — and the other formats update instantly. In Chrome and Edge, the eyedropper button picks a color from anywhere on your screen. Every value has a copy button.

HEX, RGB, HSL and OKLCH

HEX and RGB describe the same thing: how much red, green and blue light a screen mixes. HSL rearranges that into hue, saturation and lightness, which is easier to adjust by hand. OKLCH is a newer, perceptual model supported in modern CSS: equal steps in its lightness look equal to the eye, which makes it the best choice for building scales and themes. Colorset uses OKLCH internally for every tool.

Shades, related colors and readable text

Below the picker you get an 11-step scale from 50 to 950, the complementary color, analogous neighbours and split complements. The text preview shows whether white or black text is readable on your color and the exact WCAG contrast ratio. When you are happy, build a full palette from the color in the palette generator, or explore every rule on the color harmony wheel.