#336CEB Color Information

Hex color code: #336CEB

#336CEB is a eye-catching blue color. In RGB it is (51, 108, 235), and in HSL it is (221°, 82%, 56%). It is widely used in graphic design.

Try:
Color NameRoyal Blue
HEX
#336CEB
RGB
51, 108, 235
HSL
221°, 82%, 56%
CMYK
78%, 54%, 0%, 8%

Shades

CSS Usage
color: #336CEB;
background-color: #336CEB;
border-color: #336CEB;
box-shadow: 0 0 10px #336CEB;
border: 2px solid #336CEB;
Tailwind Usage
bg-[#336CEB]
text-[#336CEB]
border-[#336CEB]
shadow-[0_0_10px_336CEB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #336CEB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #336CEB; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #336CEB; color: #FFFFFF; }

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 #336CEB; background-color: #336CEB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #336CEB20; border-left: 4px solid #336CEB; }

Link / Accent

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

a { color: #336CEB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #336CEB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 108, 235

Red: 51 / Green: 108 / Blue: 235

HSL

221°, 82%, 56%

Hue: 221° / Saturation: 82% / Lightness: 56%

CMYK

78%, 54%, 0%, 8%

Cyan: 78% / Magenta: 54% / Yellow: 0% / Key: 8%

What color is #336CEB?

#336CEB is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #336CEB to RGB:

rgb(51, 108, 235)HEX to RGB Converter →

HEX to HSL

Convert #336CEB to HSL:

hsl(221, 82%, 56%)RGB to HSL Converter →

HEX to CMYK

Convert #336CEB to CMYK:

cmyk(78%, 54%, 0%, 8%)Color Converter →

Color Meaning and Usage

#336CEB is a vivid blue color with RGB values of 51, 108, 235 and HSL of 221°, 82%, 56%. This highly saturated hue evokes energy and excitement, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #336CEB is #EBB133, creating high-contrast pairings. For softer combinations, try analogous colors like #33C9EB.

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

Contrast with #336CEB

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

Contrast Ratio: 4.49:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #336CEB?

#336CEB is a vivid blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #336CEB?

#336CEB in RGB is (51, 108, 235) - 51 red, 108 green, and 235 blue.

How to use #336CEB in CSS?

Use #336CEB directly in your CSS properties like color or background-color.

What colors go well with #336CEB?

#EBB133 (complementary), #33C9EB (analogous), and #1349BE (lighter shade) work well with #336CEB.