#337FD7 Color Information

Hex color code: #337FD7

The hex color #337FD7 is a calming blue with RGB values of (51, 127, 215) and HSL of (212°, 67%, 52%). It is frequently seen in web interfaces.

Try:
Color NameRoyal Blue
HEX
#337FD7
RGB
51, 127, 215
HSL
212°, 67%, 52%
CMYK
76%, 41%, 0%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #337FD7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 127, 215

Red: 51 / Green: 127 / Blue: 215

HSL

212°, 67%, 52%

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

CMYK

76%, 41%, 0%, 16%

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

What color is #337FD7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #337FD7 to RGB:

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

HEX to HSL

Convert #337FD7 to HSL:

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

HEX to CMYK

Convert #337FD7 to CMYK:

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

Color Meaning and Usage

A peaceful blue tone, #337FD7 has RGB (51, 127, 215) and HSL (212°, 67%, 52%). Known for evoking creativity and luxury, this blue-purple hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #337FD7 is #D78A33, creating high-contrast pairings. For softer combinations, try analogous colors like #33D1D7.

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

Contrast with #337FD7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #337FD7?

#337FD7 is a peaceful blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #337FD7?

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

How to use #337FD7 in CSS?

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

What colors go well with #337FD7?

#D78A33 (complementary), #33D1D7 (analogous), and #1F5A9E (lighter shade) work well with #337FD7.