✓ Copied to clipboard
#40388A (Dark Blue) color swatch preview — Color From Pic.
#40388A — Dark Blue color swatch

Dark Blue

#40388A

📝 Color Information for #40388A

The hexadecimal color code #40388A represents a dark shade in the blue family. In the RGB color model, this color is composed of 64 red, 56 green, and 138 blue, which translates to approximately 25% red, 22% green, and 54% blue. This makes it a slightly desaturated color with cool undertones that can evoke different emotional responses depending on its application. When analyzed in the HSL (Hue, Saturation, Lightness) color space, #40388A has a hue of 246 degrees, a saturation level of 42%, and a lightness value of 38%. The hue angle of 246° places this color firmly in the blue spectrum. In the HSV/HSB color model, this translates to a hue of 246°, saturation of 59%, and brightness/value of 54%. For print applications using the CMYK color model, #40388A would be reproduced using 54% cyan, 59% magenta, 0% yellow, and 46% 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 #40388A with other colors, consider its complementary color at hue 66° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 4208778, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #40388A

Tailwind CSS
indigo-900
HEX
#40388A
RGB
rgb(64, 56, 138)
RGB %
25%, 22%, 54%
HSL
hsl(246, 42%, 38%)
HSV
hsv(246, 59%, 54%)
CMYK
54%, 59%, 0%, 46%
Decimal
4208778
Web Safe
#333399

🎨 Color Schemes for #40388A

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #40388A

🌗 Shades and Tints of #40388A

Shades (adding black)
Tints (adding white)

🎚️ Tones of #40388A

Tones (adding gray / desaturating)

🌈 Hue Variations of #40388A

Hue Variations (shifting the color spectrum)

👁️ Preview of #40388A in Use

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

👓 Color Blindness Simulation for #40388A

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 #40388A

:root { --color-hex: #40388A; --color-rgb: 64, 56, 138; --color-hsl: 246, 42%, 38%; } .bg-color { background-color: #40388A; } .text-color { color: #40388A; } .border-color { border-color: #40388A; }

🛠️ Use #40388A in Your Project

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

🔗 Related Colors to #40388A

#38598A
Hue -30°
#38448A
Hue -15°
#55388A
Hue +15°
#69388A
Hue +30°
#362F74
85% L
#2E2862
70% L
#201C45
50% L
#131028
30% L
#554AB5
50% L
#8179C8
63% L
#AAA4DA
75% L
#D6D4ED
88% L

About Dark Blue (#40388A)

Dark Blue is a medium, moderately saturated, cool blue color with a hue angle of 246°, saturation of 42%, and lightness of 38%. Its RGB value is (64, 56, 138) and its CMYK breakdown is C:54% M:59% Y:0% K:46%.

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 #40388A

What is the HEX code for Dark Blue? +

The HEX code for Dark Blue is #40388A. In CSS you can use it directly as color: #40388A; or as a background: background-color: #40388A;. 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 #40388A? +

The RGB value of #40388A is rgb(64, 56, 138). This means the color contains 64 out of 255 parts red, 56 out of 255 parts green, and 138 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, 56, 138);

What is the HSL value of #40388A? +

The HSL value of #40388A is hsl(246, 42%, 38%). The hue is 246°, placing it in the blue family on the color wheel. The saturation is 42%, making it moderately saturated. The lightness is 38%, 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 #40388A a warm or cool color? +

#40388A is classified as a cool color based on its hue angle of 246°. 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 #40388A? +

The approximate CMYK value of #40388A is C:54% M:59% Y:0% K:46%. 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 #40388A with Other Tools

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