#2251EC Color Information

Hex color code: #2251EC

The hex color #2251EC is a striking blue with RGB values of (34, 81, 236) and HSL of (226°, 84%, 53%). It is often used for branding and logos.

Try:
Color NameRoyal Blue
HEX
#2251EC
RGB
34, 81, 236
HSL
226°, 84%, 53%
CMYK
86%, 66%, 0%, 7%

Shades

CSS Usage
color: #2251EC;
background-color: #2251EC;
border-color: #2251EC;
box-shadow: 0 0 10px #2251EC;
border: 2px solid #2251EC;
Tailwind Usage
bg-[#2251EC]
text-[#2251EC]
border-[#2251EC]
shadow-[0_0_10px_2251EC]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #2251EC, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #2251EC; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #2251EC; 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 #2251EC; background-color: #2251EC15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #2251EC20; border-left: 4px solid #2251EC; }

Link / Accent

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

a { color: #2251EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #2251EC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

34, 81, 236

Red: 34 / Green: 81 / Blue: 236

HSL

226°, 84%, 53%

Hue: 226° / Saturation: 84% / Lightness: 53%

CMYK

86%, 66%, 0%, 7%

Cyan: 86% / Magenta: 66% / Yellow: 0% / Key: 7%

What color is #2251EC?

#2251EC is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2251EC to RGB:

rgb(34, 81, 236)HEX to RGB Converter →

HEX to HSL

Convert #2251EC to HSL:

hsl(226, 84%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #2251EC to CMYK:

cmyk(86%, 66%, 0%, 7%)Color Converter →

Color Meaning and Usage

#2251EC is a eye-catching blue color with RGB values of 34, 81, 236 and HSL of 226°, 84%, 53%. This highly saturated hue evokes energy and excitement, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2251EC is #ECBD22, creating high-contrast pairings. For softer combinations, try analogous colors like #22B6EC.

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

Contrast with #2251EC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2251EC?

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

What is the RGB value of #2251EC?

#2251EC in RGB is (34, 81, 236) - 34 red, 81 green, and 236 blue.

How to use #2251EC in CSS?

Use #2251EC directly in your CSS properties like color or background-color.

What colors go well with #2251EC?

#ECBD22 (complementary), #22B6EC (analogous), and #1035B2 (lighter shade) work well with #2251EC.