#336AEB Color Information

Hex color code: #336AEB

The hex color #336AEB is a eye-catching blue with RGB values of (51, 106, 235) and HSL of (222°, 82%, 56%). It is widely used in graphic design.

Try:
Color NameRoyal Blue
HEX
#336AEB
RGB
51, 106, 235
HSL
222°, 82%, 56%
CMYK
78%, 55%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #336AEB; 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 #336AEB; background-color: #336AEB15; }

Alert / Toast

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

Link / Accent

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

a { color: #336AEB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 106, 235

Red: 51 / Green: 106 / Blue: 235

HSL

222°, 82%, 56%

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

CMYK

78%, 55%, 0%, 8%

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

What color is #336AEB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #336AEB to RGB:

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

HEX to HSL

Convert #336AEB to HSL:

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

HEX to CMYK

Convert #336AEB to CMYK:

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

Color Meaning and Usage

A eye-catching blue tone, #336AEB has RGB (51, 106, 235) and HSL (222°, 82%, 56%). Known for evoking energy and excitement, this highly saturated hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #336AEB is #EBB433, creating high-contrast pairings. For softer combinations, try analogous colors like #33C6EB.

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

Contrast with #336AEB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #336AEB?

#336AEB is a eye-catching blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #336AEB?

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

How to use #336AEB in CSS?

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

What colors go well with #336AEB?

#EBB433 (complementary), #33C6EB (analogous), and #1346BE (lighter shade) work well with #336AEB.