#3B5BDB
rgb(59, 91, 219)
Click to open system colour picker
HEX
RGB
R
G
B
HSL
H231°
S63%
L55%
📋
All Colour Formats
HEX#3B5BDB
RGBrgb(59, 91, 219)
RGBArgba(59, 91, 219, 1)
HSLhsl(228, 69%, 55%)
HSLAhsla(228, 69%, 55%, 1)
HSVhsv(228, 73%, 86%)
CMYKcmyk(73%, 58%, 0%, 14%)
Shades
10
20
30
40
50
60
70
80
90
Click a shade to apply it

Every Color Has Seven Faces

A single shade of blue can be written as #1a73e8, rgb(26, 115, 232), hsl(217, 81%, 51%), hsv(217, 89%, 91%), or cmyk(89, 50, 0, 9). These aren't different colors — they're different languages describing the same point in color space. The problem is that different tools, workflows, and contexts each insist on their own format. Figma gives you HEX. CSS prefers HSL. Your print designer needs CMYK. Your animation library expects RGB floats. This converter is the translation layer between all of them.

RGB vs HSL — Choosing the Right Model for Your Work

RGB is the native language of screens. Every pixel is three light intensities — red, green, blue — combined additively. It maps directly to how display hardware works, which makes it precise but non-intuitive. Adjusting a color's "brightness" in RGB means changing all three channels simultaneously in a coordinated way that isn't obvious.

HSL separates the perceptual qualities designers think about: Hue (what color), Saturation (how vivid), Lightness (how bright). Adjusting lightness from 50% to 60% gives a predictable lighter version. This makes HSL ideal for CSS custom properties where you need a systematic color palette — a primary color at 50% lightness, its light variant at 90%, its dark variant at 30%. Designers working from brand guidelines appreciate that HSL makes these relationships explicit.

CMYK and the Print Gamut Problem

Screen colors and printed ink colors are fundamentally different physical phenomena. Screens emit light (additive color); printers apply ink that absorbs light (subtractive color). The gamut — the total range of reproducible colors — is different. Vivid electric blues and neon greens that look stunning on screen often fall outside the CMYK printable gamut and must be replaced with the closest printable approximation.

This converter provides the mathematically accurate CMYK conversion. For production print work, converting your brand's primary colors here gives you the starting point for working with your printer. Professional designers use Pantone matching or calibrated monitor-to-press workflows for exact color reproduction, but this converter handles the quick checks and conversions that happen during the design process.

Practical Color Conversion Scenarios

  • Brand color implementation: Brand guidelines typically specify HEX or RGB values. Convert to HSL here to establish the CSS custom property system for your design tokens, and to CMYK for any printed materials.
  • CSS gradient generation: Building a gradient requires knowing intermediate colors. Adjust the HSL lightness of your base color here to find appropriate stops, then use the HEX or RGB values in the CSS Gradient Generator.
  • Design tool handoff: Figma exports HEX but CSS variables are typically HSL. Convert the design file's colors here, copy the HSL values, and paste into your design token file.
  • Accessibility contrast checking: Understanding a color's HSL lightness value helps assess whether two colors will have sufficient contrast for WCAG accessibility requirements. Very light (high lightness) on very light, or dark on dark, will fail contrast ratios.
  • Dark mode palette creation: Converting your light mode colors to HSL makes it systematic to create dark mode equivalents by inverting lightness while preserving hue and saturation.

Alpha Transparency — RGBA and HSLA

Standard HEX, RGB, and HSL represent fully opaque colors. When you need semi-transparency — overlays, shadows, glass morphism effects — you need the alpha variants: RGBA or HSLA. The alpha value ranges from 0 (invisible) to 1 (fully opaque) in CSS. This converter handles the alpha channel in both RGBA and HSLA formats. Modern CSS also supports 8-digit hex (RRGGBBAA) for transparent colors, where the last two hex digits encode alpha.

Verified by ToollyX Team · Last updated June 2026

Frequently Asked Questions

Disclaimer: All color conversions run in your browser. No color data is transmitted anywhere.