#337AD7 Color Information

Hex color code: #337AD7

#337AD7 is a serene blue color. In RGB it is (51, 122, 215), and in HSL it is (214°, 67%, 52%). It is often used for branding and logos.

Try:
Color NameRoyal Blue
HEX
#337AD7
RGB
51, 122, 215
HSL
214°, 67%, 52%
CMYK
76%, 43%, 0%, 16%

Shades

CSS Usage
color: #337AD7;
background-color: #337AD7;
border-color: #337AD7;
box-shadow: 0 0 10px #337AD7;
border: 2px solid #337AD7;
Tailwind Usage
bg-[#337AD7]
text-[#337AD7]
border-[#337AD7]
shadow-[0_0_10px_337AD7]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #337AD7, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #337AD7; color: #000000; }

Badge

New Feature
.badge { background-color: #337AD7; 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 #337AD7; background-color: #337AD715; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #337AD720; border-left: 4px solid #337AD7; }

Link / Accent

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

a { color: #337AD7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #337AD7 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 122, 215

Red: 51 / Green: 122 / Blue: 215

HSL

214°, 67%, 52%

Hue: 214° / Saturation: 67% / Lightness: 52%

CMYK

76%, 43%, 0%, 16%

Cyan: 76% / Magenta: 43% / Yellow: 0% / Key: 16%

What color is #337AD7?

#337AD7 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #337AD7 to RGB:

rgb(51, 122, 215)HEX to RGB Converter →

HEX to HSL

Convert #337AD7 to HSL:

hsl(214, 67%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #337AD7 to CMYK:

cmyk(76%, 43%, 0%, 16%)Color Converter →

Color Meaning and Usage

A tranquil blue tone, #337AD7 has RGB (51, 122, 215) and HSL (214°, 67%, 52%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #337AD7 is #D79033, creating high-contrast pairings. For softer combinations, try analogous colors like #33CCD7.

Use #337AD7 in CSS: color: #337AD7 or background-color: #337AD7. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #337AD7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #337AD7?

#337AD7 is a tranquil blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #337AD7?

#337AD7 in RGB is (51, 122, 215) - 51 red, 122 green, and 215 blue.

How to use #337AD7 in CSS?

Use #337AD7 directly in your CSS properties like color or background-color.

What colors go well with #337AD7?

#D79033 (complementary), #33CCD7 (analogous), and #1F569E (lighter shade) work well with #337AD7.