#25258D Color Information

Hex color code: #25258D

A tranquil blue shade, #25258D appears as (37, 37, 141) in RGB and (240°, 58%, 35%) in HSL. It is widely used in graphic design.

Try:
Color NameDark Slate Blue
HEX
#25258D
RGB
37, 37, 141
HSL
240°, 58%, 35%
CMYK
74%, 74%, 0%, 45%

Shades

CSS Usage
color: #25258D;
background-color: #25258D;
border-color: #25258D;
box-shadow: 0 0 10px #25258D;
border: 2px solid #25258D;
Tailwind Usage
bg-[#25258D]
text-[#25258D]
border-[#25258D]
shadow-[0_0_10px_25258D]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #25258D, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #25258D; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #25258D; 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 #25258D; background-color: #25258D15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #25258D20; border-left: 4px solid #25258D; }

Link / Accent

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

a { color: #25258D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #25258D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

37, 37, 141

Red: 37 / Green: 37 / Blue: 141

HSL

240°, 58%, 35%

Hue: 240° / Saturation: 58% / Lightness: 35%

CMYK

74%, 74%, 0%, 45%

Cyan: 74% / Magenta: 74% / Yellow: 0% / Key: 45%

What color is #25258D?

#25258D is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #25258D to RGB:

rgb(37, 37, 141)HEX to RGB Converter →

HEX to HSL

Convert #25258D to HSL:

hsl(240, 58%, 35%)RGB to HSL Converter →

HEX to CMYK

Convert #25258D to CMYK:

cmyk(74%, 74%, 0%, 45%)Color Converter →

Color Meaning and Usage

A serene blue tone, #25258D has RGB (37, 37, 141) and HSL (240°, 58%, 35%). Known for evoking creativity and luxury, this blue-purple hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #25258D is #8D8D25, creating high-contrast pairings. For softer combinations, try analogous colors like #25598D.

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

Contrast with #25258D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #25258D?

#25258D is a serene blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #25258D?

#25258D in RGB is (37, 37, 141) - 37 red, 37 green, and 141 blue.

How to use #25258D in CSS?

Use #25258D directly in your CSS properties like color or background-color.

What colors go well with #25258D?

#8D8D25 (complementary), #25598D (analogous), and #151551 (lighter shade) work well with #25258D.