#252EDA Color Information

Hex color code: #252EDA

The hex color #252EDA is a striking blue with RGB values of (37, 46, 218) and HSL of (237°, 71%, 50%). It is often used for branding and logos.

Try:
Color NameRoyal Blue
HEX
#252EDA
RGB
37, 46, 218
HSL
237°, 71%, 50%
CMYK
83%, 79%, 0%, 15%

Shades

CSS Usage
color: #252EDA;
background-color: #252EDA;
border-color: #252EDA;
box-shadow: 0 0 10px #252EDA;
border: 2px solid #252EDA;
Tailwind Usage
bg-[#252EDA]
text-[#252EDA]
border-[#252EDA]
shadow-[0_0_10px_252EDA]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #252EDA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #252EDA; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #252EDA; 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 #252EDA; background-color: #252EDA15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #252EDA20; border-left: 4px solid #252EDA; }

Link / Accent

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

a { color: #252EDA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #252EDA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

37, 46, 218

Red: 37 / Green: 46 / Blue: 218

HSL

237°, 71%, 50%

Hue: 237° / Saturation: 71% / Lightness: 50%

CMYK

83%, 79%, 0%, 15%

Cyan: 83% / Magenta: 79% / Yellow: 0% / Key: 15%

What color is #252EDA?

#252EDA is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #252EDA to RGB:

rgb(37, 46, 218)HEX to RGB Converter →

HEX to HSL

Convert #252EDA to HSL:

hsl(237, 71%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #252EDA to CMYK:

cmyk(83%, 79%, 0%, 15%)Color Converter →

Color Meaning and Usage

A dynamic blue tone, #252EDA has RGB (37, 46, 218) and HSL (237°, 71%, 50%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #252EDA is #DAD125, creating high-contrast pairings. For softer combinations, try analogous colors like #2589DA.

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

Contrast with #252EDA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #252EDA?

#252EDA is a dynamic blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #252EDA?

#252EDA in RGB is (37, 46, 218) - 37 red, 46 green, and 218 blue.

How to use #252EDA in CSS?

Use #252EDA directly in your CSS properties like color or background-color.

What colors go well with #252EDA?

#DAD125 (complementary), #2589DA (analogous), and #1A2099 (lighter shade) work well with #252EDA.