#28429F Color Information

Hex color code: #28429F

#28429F is a tranquil blue color. In RGB it is (40, 66, 159), and in HSL it is (227°, 60%, 39%). It is widely used in graphic design.

Try:
Color NameDark Slate Blue
HEX
#28429F
RGB
40, 66, 159
HSL
227°, 60%, 39%
CMYK
75%, 58%, 0%, 38%

Shades

CSS Usage
color: #28429F;
background-color: #28429F;
border-color: #28429F;
box-shadow: 0 0 10px #28429F;
border: 2px solid #28429F;
Tailwind Usage
bg-[#28429F]
text-[#28429F]
border-[#28429F]
shadow-[0_0_10px_28429F]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #28429F, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #28429F; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #28429F; 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 #28429F; background-color: #28429F15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #28429F20; border-left: 4px solid #28429F; }

Link / Accent

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

a { color: #28429F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #28429F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

40, 66, 159

Red: 40 / Green: 66 / Blue: 159

HSL

227°, 60%, 39%

Hue: 227° / Saturation: 60% / Lightness: 39%

CMYK

75%, 58%, 0%, 38%

Cyan: 75% / Magenta: 58% / Yellow: 0% / Key: 38%

What color is #28429F?

#28429F is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #28429F to RGB:

rgb(40, 66, 159)HEX to RGB Converter →

HEX to HSL

Convert #28429F to HSL:

hsl(227, 60%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #28429F to CMYK:

cmyk(75%, 58%, 0%, 38%)Color Converter →

Color Meaning and Usage

A serene blue tone, #28429F has RGB (40, 66, 159) and HSL (227°, 60%, 39%). Known for evoking creativity and luxury, this blue-purple hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #28429F is #9F8528, creating high-contrast pairings. For softer combinations, try analogous colors like #287D9F.

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

Contrast with #28429F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #28429F?

#28429F is a serene blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #28429F?

#28429F in RGB is (40, 66, 159) - 40 red, 66 green, and 159 blue.

How to use #28429F in CSS?

Use #28429F directly in your CSS properties like color or background-color.

What colors go well with #28429F?

#9F8528 (complementary), #287D9F (analogous), and #182862 (lighter shade) work well with #28429F.