#254FDA Color Information

Hex color code: #254FDA

The hex color #254FDA is a vivid blue with RGB values of (37, 79, 218) and HSL of (226°, 71%, 50%). It is commonly used in modern UI design.

Try:
Color NameRoyal Blue
HEX
#254FDA
RGB
37, 79, 218
HSL
226°, 71%, 50%
CMYK
83%, 64%, 0%, 15%

Shades

CSS Usage
color: #254FDA;
background-color: #254FDA;
border-color: #254FDA;
box-shadow: 0 0 10px #254FDA;
border: 2px solid #254FDA;
Tailwind Usage
bg-[#254FDA]
text-[#254FDA]
border-[#254FDA]
shadow-[0_0_10px_254FDA]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #254FDA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #254FDA; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #254FDA; 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 #254FDA; background-color: #254FDA15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #254FDA20; border-left: 4px solid #254FDA; }

Link / Accent

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

a { color: #254FDA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #254FDA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

37, 79, 218

Red: 37 / Green: 79 / Blue: 218

HSL

226°, 71%, 50%

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

CMYK

83%, 64%, 0%, 15%

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

What color is #254FDA?

#254FDA is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #254FDA to RGB:

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

HEX to HSL

Convert #254FDA to HSL:

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

HEX to CMYK

Convert #254FDA to CMYK:

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

Color Meaning and Usage

A eye-catching blue tone, #254FDA has RGB (37, 79, 218) and HSL (226°, 71%, 50%). Known for evoking creativity and luxury, this blue-purple hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #254FDA is #DAB025, creating high-contrast pairings. For softer combinations, try analogous colors like #25AADA.

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

Contrast with #254FDA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #254FDA?

#254FDA is a eye-catching blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #254FDA?

#254FDA in RGB is (37, 79, 218) - 37 red, 79 green, and 218 blue.

How to use #254FDA in CSS?

Use #254FDA directly in your CSS properties like color or background-color.

What colors go well with #254FDA?

#DAB025 (complementary), #25AADA (analogous), and #1A3799 (lighter shade) work well with #254FDA.