Saltar al contenido principal
Conversiones · Herramienta online gratuita

Convertidor de Color HEX a RGB

Convierte códigos hexadecimales a RGB, RGBA, HSL y comprueba los contrastes WCAG 2.1.

Ajustes predeterminados:
#3B82F6
rgb(59, 130, 246) | hsl(217, 91%, 60%)
CSS RGB Color Value
rgb(59, 130, 246)

WCAG contrast: 3.68:1 against white | 5.71:1 against black.

RGB Syntax
rgb(59, 130, 246)
HSL Syntax
hsl(217, 91%, 60%)
Contrast vs White
3.68:1
Contrast vs Black
5.71:1

Metric Distribution Analysis

Contrast vs White 3.68
Contrast vs Black 5.71
Authoritative Guide & Formulas

Digital Colorimetry: The sRGB Color Space, Hexadecimal Encoding & HSL Conversions

Additive trichromatic color theory, 8-bit hex byte decomposition, cylindrical HSL coordinates, and WCAG contrast.

Read Mathematical Guide →

Preguntas frecuentes