The hexadecimal color code #3A5798 represents a medium shade in the blue family. In the RGB color model, this color is composed of 58 red, 87 green, and 152 blue, which translates to approximately 23% red, 34% green, and 60% 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, #3A5798 has a hue of 221 degrees, a saturation level of 45%, and a lightness value of 41%. The hue angle of 221° places this color firmly in the blue spectrum. In the HSV/HSB color model, this translates to a hue of 221°, saturation of 62%, and brightness/value of 60%.
For print applications using the CMYK color model, #3A5798 would be reproduced using 62% cyan, 43% magenta, 0% yellow, and 40% black. The closest web-safe color is #336699, 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 #3A5798 with other colors, consider its complementary color at hue 41° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 3823512, which can be useful in certain programming contexts.
🔢 Color Conversion Codes for #3A5798
Tailwind CSS
indigo-800
HEX
#3A5798
RGB
rgb(58, 87, 152)
RGB %
23%, 34%, 60%
HSL
hsl(221, 45%, 41%)
HSV
hsv(221, 62%, 60%)
CMYK
62%, 43%, 0%, 40%
Decimal
3823512
Web Safe
#336699
🎨 Color Schemes for #3A5798
Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)
🔄 Alternatives to #3A5798
🌗 Shades and Tints of #3A5798
Shades (adding black)
Tints (adding white)
🎚️ Tones of #3A5798
Tones (adding gray / desaturating)
🌈 Hue Variations of #3A5798
Hue Variations (shifting the color spectrum)
👁️ Preview of #3A5798 in Use
Text on #3A5798
This demonstrates text readability on the color background. (Click to edit)
#3A5798 as Text
This shows the color used as text on white. (Click to edit)
👓 Color Blindness Simulation for #3A5798
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.
Blue is a medium, moderately saturated, cool blue color with a hue angle of 221°, saturation of 45%, and lightness of 41%. Its RGB value is (58, 87, 152) and its CMYK breakdown is C:62% M:43% Y:0% K:40%.
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 #3A5798
What is the HEX code for Blue? +
The HEX code for Blue is #3A5798. In CSS you can use it directly as color: #3A5798; or as a background: background-color: #3A5798;. 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 #3A5798? +
The RGB value of #3A5798 is rgb(58, 87, 152). This means the color contains 58 out of 255 parts red, 87 out of 255 parts green, and 152 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(58, 87, 152);
What is the HSL value of #3A5798? +
The HSL value of #3A5798 is hsl(221, 45%, 41%). The hue is 221°, placing it in the blue family on the color wheel. The saturation is 45%, making it moderately saturated. The lightness is 41%, 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 #3A5798 a warm or cool color? +
#3A5798 is classified as a cool color based on its hue angle of 221°. 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 #3A5798? +
The approximate CMYK value of #3A5798 is C:62% M:43% Y:0% K:40%. 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.