#402DA9 Color Information
Hex color code: #402DA9
The hex color #402DA9 is a peaceful blue with RGB values of (64, 45, 169) and HSL of (249°, 58%, 42%). It is widely used in graphic design.
Shades
color: #402DA9; background-color: #402DA9; border-color: #402DA9; box-shadow: 0 0 10px #402DA9; border: 2px solid #402DA9;
bg-[#402DA9] text-[#402DA9] border-[#402DA9] shadow-[0_0_10px_402DA9]
Generate Gradient
background: linear-gradient(90deg, #402DA9, #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 #402DA9 in the color wheel.
RGB, HSL and CMYK Values
RGB
64, 45, 169
Red: 64 / Green: 45 / Blue: 169
HSL
249°, 58%, 42%
Hue: 249° / Saturation: 58% / Lightness: 42%
CMYK
62%, 73%, 0%, 34%
Cyan: 62% / Magenta: 73% / Yellow: 0% / Key: 34%
What color is #402DA9?
#402DA9 is a blue-purple hue associated with creativity and luxury.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#402DA9 is a serene blue color with RGB values of 64, 45, 169 and HSL of 249°, 58%, 42%. This blue-purple hue evokes creativity and luxury, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #402DA9 is #97A92D, creating high-contrast pairings. For softer combinations, try analogous colors like #2D58A9.
Use #402DA9 in CSS: color: #402DA9 or background-color: #402DA9. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #402DA9
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 #402DA9?
#402DA9 is a serene blue color - a blue-purple hue that evokes creativity and luxury.
What is the RGB value of #402DA9?
#402DA9 in RGB is (64, 45, 169) - 64 red, 45 green, and 169 blue.
How to use #402DA9 in CSS?
Use #402DA9 directly in your CSS properties like color or background-color.