#42428A Color Information
Hex color code: #42428A
#42428A is a pastel blue color. In RGB it is (66, 66, 138), and in HSL it is (240°, 35%, 40%). It is frequently seen in web interfaces.
Shades
color: #42428A; background-color: #42428A; border-color: #42428A; box-shadow: 0 0 10px #42428A; border: 2px solid #42428A;
bg-[#42428A] text-[#42428A] border-[#42428A] shadow-[0_0_10px_42428A]
Generate Gradient
background: linear-gradient(90deg, #42428A, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #42428A in the color wheel.
RGB, HSL and CMYK Values
RGB
66, 66, 138
Red: 66 / Green: 66 / Blue: 138
HSL
240°, 35%, 40%
Hue: 240° / Saturation: 35% / Lightness: 40%
CMYK
52%, 52%, 0%, 46%
Cyan: 52% / Magenta: 52% / Yellow: 0% / Key: 46%
What color is #42428A?
#42428A is a blue-purple hue associated with creativity and luxury.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A subtle blue tone, #42428A has RGB (66, 66, 138) and HSL (240°, 35%, 40%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #42428A is #8A8A42, creating high-contrast pairings. For softer combinations, try analogous colors like #42668A.
Use #42428A in CSS: color: #42428A or background-color: #42428A. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #42428A
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #42428A?
#42428A is a subtle blue color - a blue-purple hue that evokes creativity and luxury.
What is the RGB value of #42428A?
#42428A in RGB is (66, 66, 138) - 66 red, 66 green, and 138 blue.
How to use #42428A in CSS?
Use #42428A directly in your CSS properties like color or background-color.