#338DDB Color Information

Hex color code: #338DDB

The hex color #338DDB is a tranquil blue with RGB values of (51, 141, 219) and HSL of (208°, 70%, 53%). It is widely used in graphic design.

Try:
Color NameRoyal Blue
HEX
#338DDB
RGB
51, 141, 219
HSL
208°, 70%, 53%
CMYK
77%, 36%, 0%, 14%

Shades

CSS Usage
color: #338DDB;
background-color: #338DDB;
border-color: #338DDB;
box-shadow: 0 0 10px #338DDB;
border: 2px solid #338DDB;
Tailwind Usage
bg-[#338DDB]
text-[#338DDB]
border-[#338DDB]
shadow-[0_0_10px_338DDB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #338DDB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #338DDB; color: #000000; }

Badge

New Feature
.badge { background-color: #338DDB; 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 #338DDB; background-color: #338DDB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #338DDB20; border-left: 4px solid #338DDB; }

Link / Accent

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

a { color: #338DDB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #338DDB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 141, 219

Red: 51 / Green: 141 / Blue: 219

HSL

208°, 70%, 53%

Hue: 208° / Saturation: 70% / Lightness: 53%

CMYK

77%, 36%, 0%, 14%

Cyan: 77% / Magenta: 36% / Yellow: 0% / Key: 14%

What color is #338DDB?

#338DDB is a cyan-blue hue associated with trust and professionalism.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #338DDB to RGB:

rgb(51, 141, 219)HEX to RGB Converter →

HEX to HSL

Convert #338DDB to HSL:

hsl(208, 70%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #338DDB to CMYK:

cmyk(77%, 36%, 0%, 14%)Color Converter →

Color Meaning and Usage

#338DDB is a calming blue color with RGB values of 51, 141, 219 and HSL of 208°, 70%, 53%. This cyan-blue hue evokes trust and professionalism, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #338DDB is #DB8233, creating high-contrast pairings. For softer combinations, try analogous colors like #33DBD5.

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

Contrast with #338DDB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #338DDB?

#338DDB is a calming blue color - a cyan-blue hue that evokes trust and professionalism.

What is the RGB value of #338DDB?

#338DDB in RGB is (51, 141, 219) - 51 red, 141 green, and 219 blue.

How to use #338DDB in CSS?

Use #338DDB directly in your CSS properties like color or background-color.

What colors go well with #338DDB?

#DB8233 (complementary), #33DBD5 (analogous), and #1D65A5 (lighter shade) work well with #338DDB.