Color Converter
Accepts: HEX, RGB, RGBA, HSL, HSLA, HSV, CMYK, CSS names
Try:
HEX
RGB / RGBA
HSL / HSLA
HSV
CMYK
R
G
B
A
Tints & Shades
Tints (lighter)
Shades (darker)

Click any swatch to use it as input

WCAG Contrast Checker

Contrast ratio against white and black backgrounds. AA requires ≥ 4.5:1 for normal text, AAA requires ≥ 7:1.

On White
On Black

Color format reference

FormatExampleUsed in
HEX#4F8EF7CSS, HTML, design tools
RGBrgb(79, 142, 247)CSS, canvas, image processing
RGBArgba(79, 142, 247, 0.8)CSS with transparency
HSLhsl(220, 91%, 64%)CSS, intuitive for humans
HSLAhsla(220, 91%, 64%, 0.8)CSS with transparency
HSV / HSBhsv(220, 68%, 97%)Photoshop, design apps
CMYKcmyk(68%, 43%, 0%, 3%)Print / physical media

Common CSS named colors

Click any color to convert it

← Epoch converter  ·  Timezone converter  ·  Date difference