#338ACC Color Information

Hex color code: #338ACC

The hex color #338ACC is a peaceful blue with RGB values of (51, 138, 204) and HSL of (206°, 60%, 50%). It is typically applied in digital products.

Try:
Color NameSteel Blue
HEX
#338ACC
RGB
51, 138, 204
HSL
206°, 60%, 50%
CMYK
75%, 32%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #338ACC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 138, 204

Red: 51 / Green: 138 / Blue: 204

HSL

206°, 60%, 50%

Hue: 206° / Saturation: 60% / Lightness: 50%

CMYK

75%, 32%, 0%, 20%

Cyan: 75% / Magenta: 32% / Yellow: 0% / Key: 20%

What color is #338ACC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #338ACC to RGB:

rgb(51, 138, 204)HEX to RGB Converter →

HEX to HSL

Convert #338ACC to HSL:

hsl(206, 60%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #338ACC to CMYK:

cmyk(75%, 32%, 0%, 20%)Color Converter →

Color Meaning and Usage

A peaceful blue tone, #338ACC has RGB (51, 138, 204) and HSL (206°, 60%, 50%). Known for evoking trust and professionalism, this cyan-blue hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #338ACC is #CC7533, creating high-contrast pairings. For softer combinations, try analogous colors like #33CCC2.

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

Contrast with #338ACC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #338ACC?

#338ACC is a peaceful blue color - a cyan-blue hue that evokes trust and professionalism.

What is the RGB value of #338ACC?

#338ACC in RGB is (51, 138, 204) - 51 red, 138 green, and 204 blue.

How to use #338ACC in CSS?

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

What colors go well with #338ACC?

#CC7533 (complementary), #33CCC2 (analogous), and #24608F (lighter shade) work well with #338ACC.