Convert, explore, and validate color choices

Free Color Tools for Designers & Developers

Explore any color, generate palettes, check accessibility contrast, and convert between formats in one workflow.

#3498DB Color Information

Hex color code: #3498DB

The hex color #3498DB is a tranquil blue with RGB values of (52, 152, 219) and HSL of (204°, 70%, 53%). It is widely used in graphic design.

Try:
Closest Color NameApproximate match
Dodger Blue
HEX
#3498DB
RGB
52, 152, 219
HSL
204°, 70%, 53%
CMYK
76%, 31%, 0%, 14%

Shades (click to copy)

color: #3498DB;
background-color: #3498DB;
border-color: #3498DB;
box-shadow: 0 0 10px #3498DB;
border: 2px solid #3498DB;
bg-[#3498DB]
text-[#3498DB]
border-[#3498DB]
shadow-[0_0_10px_3498DB]

Generate Gradient

background: linear-gradient(90deg, #3498DB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #3498DB; color: #000000; }

Badge

New Feature
.badge { background-color: #3498DB; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #3498DB; background-color: #3498DB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #3498DB20; border-left: 4px solid #3498DB; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #3498DB; }

Related Colors (click to copy)

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors (click to select)

Color Theory

Relationships based on the position of #3498DB in the color wheel.

Click any dot to copy its HEX value.

Current: #3498DBComplementary: #DB7633Analogous: #33DBCAAnalogous: #3344DBTriadic: #DB3398Triadic: #98DB33
Current Complementary Triadic Analogous

Color Values

RGB

52, 152, 219

HSL

204°, 70%, 53%

CMYK

76%, 31%, 0%, 14%

Contrast with #3498DB

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 6.66:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Continue exploring #3498DB

Color Conversion Tools

Popular Named Colors

View all →

Frequently Asked Questions

What is a HEX color code?

A HEX code is a six-digit format for specifying colors in CSS and design tools. Each pair of digits represents red, green, and blue values (00–FF). For example, #FF5733 is RGB(255, 87, 51).

How do I convert between color formats?

Enter any HEX, RGB, or HSL value above and the tool converts it instantly. RGB defines colors by red, green, and blue amounts. HSL defines them by hue (color wheel position), saturation, and lightness.

What contrast ratio do I need for accessibility?

WCAG requires 4.5:1 for normal text and 3:1 for large text. Higher ratios mean better readability. Use the contrast checker to verify your combinations meet accessibility standards.

How do I generate color palettes?

Start with any color and the palette generator creates harmonious combinations: complementary (opposite on color wheel), analogous (adjacent), triadic (evenly spaced), or monochromatic (shades and tints).