✓ Copied to clipboard
#402DAB (Cool Blue) color swatch preview — Color From Pic.
#402DAB — Cool Blue color swatch

Cool Blue

#402DAB

📝 Color Information for #402DAB

The hexadecimal color code #402DAB represents a medium shade in the blue family. In the RGB color model, this color is composed of 64 red, 45 green, and 171 blue, which translates to approximately 25% red, 18% green, and 67% blue. This makes it a moderately saturated color with cool undertones that can evoke different emotional responses depending on its application. When analyzed in the HSL (Hue, Saturation, Lightness) color space, #402DAB has a hue of 249 degrees, a saturation level of 58%, and a lightness value of 42%. The hue angle of 249° places this color firmly in the blue spectrum. In the HSV/HSB color model, this translates to a hue of 249°, saturation of 74%, and brightness/value of 67%. For print applications using the CMYK color model, #402DAB would be reproduced using 63% cyan, 74% magenta, 0% yellow, and 33% black. The closest web-safe color is #333399, which may be useful for ensuring compatibility across older displays and systems. This color works well in various design contexts. With its medium lightness, it's versatile enough for both foreground elements and subtle backgrounds. The moderate to low saturation gives this color a sophisticated, muted quality that works well in professional and minimalist designs. When pairing #402DAB with other colors, consider its complementary color at hue 69° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 4205995, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #402DAB

Tailwind CSS
indigo-800
HEX
#402DAB
RGB
rgb(64, 45, 171)
RGB %
25%, 18%, 67%
HSL
hsl(249, 58%, 42%)
HSV
hsv(249, 74%, 67%)
CMYK
63%, 74%, 0%, 33%
Decimal
4205995
Web Safe
#333399

🎨 Color Schemes for #402DAB

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #402DAB

🌗 Shades and Tints of #402DAB

Shades (adding black)
Tints (adding white)

🎚️ Tones of #402DAB

Tones (adding gray / desaturating)

🌈 Hue Variations of #402DAB

Hue Variations (shifting the color spectrum)

👁️ Preview of #402DAB in Use

Text on #402DAB
This demonstrates text readability on the color background. (Click to edit)
#402DAB as Text
This shows the color used as text on white. (Click to edit)

👓 Color Blindness Simulation for #402DAB

Check how a color is perceived by people with different types of color blindness to create more accessible designs. Understanding color perception helps ensure your content is accessible to everyone.

📋 CSS Code for #402DAB

:root { --color-hex: #402DAB; --color-rgb: 64, 45, 171; --color-hsl: 249, 58%, 42%; } .bg-color { background-color: #402DAB; } .text-color { color: #402DAB; } .border-color { border-color: #402DAB; }

🛠️ Use #402DAB in Your Project

🎨
Build a Palette with #402DAB
Generate harmonious color schemes
⚖️
Check Contrast for #402DAB
WCAG accessibility testing
🌈
Create a Gradient with #402DAB
Beautiful CSS gradients

🔗 Related Colors to #402DAB

#2D58A9
Hue -30°
#2D39A9
Hue -15°
#5F2DA9
Hue +15°
#7E2DA9
Hue +30°
#372791
85% L
#2C1F75
70% L
#201655
50% L
#140E34
30% L
#5A46CE
54% L
#8272DA
65% L
#ADA2E6
77% L
#D4CFF2
88% L

About Cool Blue (#402DAB)

Cool Blue is a medium, moderately saturated, cool blue color with a hue angle of 249°, saturation of 58%, and lightness of 42%. Its RGB value is (64, 45, 171) and its CMYK breakdown is C:63% M:74% Y:0% K:33%.

This is a Summer (Cool) color palette archetype. Trust, Loyalty, Wisdom, Confidence. Blue is considered beneficial to the mind and body.

Frequently Asked Questions About #402DAB

What is the HEX code for Cool Blue? +

The HEX code for Cool Blue is #402DAB. In CSS you can use it directly as color: #402DAB; or as a background: background-color: #402DAB;. The three-character shorthand is not available for this color since it cannot be reduced without changing the value. Use the full six-character hex for accurate reproduction in any web or design project.

What is the RGB value of #402DAB? +

The RGB value of #402DAB is rgb(64, 45, 171). This means the color contains 64 out of 255 parts red, 45 out of 255 parts green, and 171 out of 255 parts blue. Red is the moderate channel in this color mix. You can use the full RGB function in any CSS property: color: rgb(64, 45, 171);

What is the HSL value of #402DAB? +

The HSL value of #402DAB is hsl(249, 58%, 42%). The hue is 249°, placing it in the blue family on the color wheel. The saturation is 58%, making it moderately saturated. The lightness is 42%, making it medium. HSL is the most useful format for programmatic color manipulation in CSS, as you can easily adjust lightness to create tints and shades.

Is #402DAB a warm or cool color? +

#402DAB is classified as a cool color based on its hue angle of 249°. Cool colors — blues, greens, and purples — evoke calm, trust, and professionalism. They tend to recede visually and create a feeling of space. In design, cool colors are often used for technology, healthcare, and finance brands, as well as anywhere a sense of calm or reliability is needed.

What is the CMYK value of #402DAB? +

The approximate CMYK value of #402DAB is C:63% M:74% Y:0% K:33%. CMYK (Cyan, Magenta, Yellow, Key/Black) is the color model used in physical printing. Unlike RGB which mixes light additively on screens, CMYK mixes inks subtractively on paper. Note that the RGB-to-CMYK conversion is an approximation — screen colors and print colors exist in different color gamuts, and some screen colors cannot be exactly reproduced in print. For precise print work, consult a professional print color profile or Pantone matching system.

Analyze #402DAB with Other Tools

🔢
Color Converter
Get all formats for #402DAB — HEX, RGB, HSL, HSV, CMYK, harmonies and shades.
Contrast Checker
Test whether #402DAB passes WCAG AA/AAA contrast requirements as text.
🎨
Palette Generator
Generate complementary, triadic, and analogous palettes starting from #402DAB.
👓
Blindness Simulator
See how #402DAB appears to users with deuteranopia, protanopia, and tritanopia.
📊
Color Analysis
Deep analysis of luminance, temperature, psychology and harmonies for #402DAB.
🎭
Creative Aspects
Explore the mood, psychology, seasonal meaning, and mixing guide for #402DAB.
🌅
Gradient Maker
Create a beautiful CSS linear or radial gradient starting from #402DAB.
🔬
Technical Formats
See #402DAB in OKLCH, Lab, HSV, XYZ, and other advanced color spaces.
🎨
Practical Formats
Get #402DAB as a CSS variable, Tailwind class, design token, and more.

More Color Tools

Explore our full suite of free color utilities for designers and developers.