#28205D Color Information

Hex color code: #28205D

#28205D is a delicate blue color. In RGB it is (40, 32, 93), and in HSL it is (248°, 49%, 25%). It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#28205D
RGB
40, 32, 93
HSL
248°, 49%, 25%
CMYK
57%, 66%, 0%, 64%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #28205D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

40, 32, 93

Red: 40 / Green: 32 / Blue: 93

HSL

248°, 49%, 25%

Hue: 248° / Saturation: 49% / Lightness: 25%

CMYK

57%, 66%, 0%, 64%

Cyan: 57% / Magenta: 66% / Yellow: 0% / Key: 64%

What color is #28205D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #28205D to RGB:

rgb(40, 32, 93)HEX to RGB Converter →

HEX to HSL

Convert #28205D to HSL:

hsl(248, 49%, 25%)RGB to HSL Converter →

HEX to CMYK

Convert #28205D to CMYK:

cmyk(57%, 66%, 0%, 64%)Color Converter →

Color Meaning and Usage

A gentle blue tone, #28205D has RGB (40, 32, 93) and HSL (248°, 49%, 25%). Known for evoking creativity and luxury, this blue-purple hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #28205D is #575F21, creating high-contrast pairings. For softer combinations, try analogous colors like #21375F.

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

Contrast with #28205D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #28205D?

#28205D is a gentle blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #28205D?

#28205D in RGB is (40, 32, 93) - 40 red, 32 green, and 93 blue.

How to use #28205D in CSS?

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

What colors go well with #28205D?

#575F21 (complementary), #21375F (analogous), and #100D26 (lighter shade) work well with #28205D.