ToolsColor Converter

Color Converter

Convert HEX, RGB, HSL, HSV, CMYK, and supported named colors. Preview WCAG contrast and hue harmonies.

Color

Enter HEX, RGB, HSL, HSV, CMYK, or one of the listed color names.

Blue

Converted color

Color preview

Relative luminance
23.5%
Best black/white text contrast
#000000 · 5.71:1

Color harmonies

Hue complementary

Analogous

Triadic

All color formats

HEX
#3b82f6
RGB
rgb(59, 130, 246)
HSL
hsl(217, 91%, 60%)
HSV
hsv(217, 76%, 96%)
CMYK
cmyk(76%, 47%, 0%, 4%)
Name
Blue

Quick tips

  • Press Ctrl or ⌘ + Enter while focused in the color input to convert.
  • Accepts 3- or 6-digit HEX, integer RGB/HSL/HSV, integer-percentage CMYK, and 23 supported names.
  • Conversion runs in your browser; no color input is sent to a server.
  • Complementary colors rotate HSL hue by 180°. Contrast uses WCAG relative luminance and the better of black or white.