#42528A Color Information

Hex color code: #42528A

The hex color #42528A is a soft blue with RGB values of (66, 82, 138) and HSL of (227°, 35%, 40%). It is typically applied in digital products.

Try:
Color NameDark Slate Blue
HEX
#42528A
RGB
66, 82, 138
HSL
227°, 35%, 40%
CMYK
52%, 41%, 0%, 46%

Shades

CSS Usage
color: #42528A;
background-color: #42528A;
border-color: #42528A;
box-shadow: 0 0 10px #42528A;
border: 2px solid #42528A;
Tailwind Usage
bg-[#42528A]
text-[#42528A]
border-[#42528A]
shadow-[0_0_10px_42528A]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #42528A, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #42528A; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #42528A; 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 #42528A; background-color: #42528A15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #42528A20; border-left: 4px solid #42528A; }

Link / Accent

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

a { color: #42528A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #42528A in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 82, 138

Red: 66 / Green: 82 / Blue: 138

HSL

227°, 35%, 40%

Hue: 227° / Saturation: 35% / Lightness: 40%

CMYK

52%, 41%, 0%, 46%

Cyan: 52% / Magenta: 41% / Yellow: 0% / Key: 46%

What color is #42528A?

#42528A is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #42528A to RGB:

rgb(66, 82, 138)HEX to RGB Converter →

HEX to HSL

Convert #42528A to HSL:

hsl(227, 35%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #42528A to CMYK:

cmyk(52%, 41%, 0%, 46%)Color Converter →

Color Meaning and Usage

A subtle blue tone, #42528A has RGB (66, 82, 138) and HSL (227°, 35%, 40%). Known for evoking creativity and luxury, this blue-purple hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #42528A is #8A7A42, creating high-contrast pairings. For softer combinations, try analogous colors like #42758A.

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

Contrast with #42528A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #42528A?

#42528A is a subtle blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #42528A?

#42528A in RGB is (66, 82, 138) - 66 red, 82 green, and 138 blue.

How to use #42528A in CSS?

Use #42528A directly in your CSS properties like color or background-color.

What colors go well with #42528A?

#8A7A42 (complementary), #42758A (analogous), and #293356 (lighter shade) work well with #42528A.