The hexadecimal color code #040F62 represents a very dark shade in the blue family. In the RGB color model, this color is composed of 4 red, 15 green, and 98 blue, which translates to approximately 2% red, 6% green, and 38% blue. This makes it a highly 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, #040F62 has a hue of 233 degrees, a saturation level of 92%, and a lightness value of 20%. The hue angle of 233° places this color firmly in the blue spectrum. In the HSV/HSB color model, this translates to a hue of 233°, saturation of 96%, and brightness/value of 38%.
For print applications using the CMYK color model, #040F62 would be reproduced using 96% cyan, 85% magenta, 0% yellow, and 62% black. The closest web-safe color is #000066, which may be useful for ensuring compatibility across older displays and systems.
This color works well in various design contexts. As a darker shade, it works well for text, headers, and creating visual weight in compositions. The high saturation makes this color vibrant and attention-grabbing, ideal for call-to-action buttons, highlights, and accent elements. When pairing #040F62 with other colors, consider its complementary color at hue 53° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 266082, which can be useful in certain programming contexts.
🔢 Color Conversion Codes for #040F62
Tailwind CSS
blue-950
HEX
#040F62
RGB
rgb(4, 15, 98)
RGB %
2%, 6%, 38%
HSL
hsl(233, 92%, 20%)
HSV
hsv(233, 96%, 38%)
CMYK
96%, 85%, 0%, 62%
Decimal
266082
Web Safe
#000066
🎨 Color Schemes for #040F62
Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)
🔄 Alternatives to #040F62
🌗 Shades and Tints of #040F62
Shades (adding black)
Tints (adding white)
🎚️ Tones of #040F62
Tones (adding gray / desaturating)
🌈 Hue Variations of #040F62
Hue Variations (shifting the color spectrum)
👁️ Preview of #040F62 in Use
Text on #040F62
This demonstrates text readability on the color background. (Click to edit)
#040F62 as Text
This shows the color used as text on white. (Click to edit)
👓 Color Blindness Simulation for #040F62
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.
Deep Vivid Blue is a dark, vibrant, cool blue color with a hue angle of 233°, saturation of 92%, and lightness of 20%. Its RGB value is (4, 15, 98) and its CMYK breakdown is C:96% M:85% Y:0% K:62%.
This is a Winter (Deep) color palette archetype. Trust, Loyalty, Wisdom, Confidence. Blue is considered beneficial to the mind and body.
Frequently Asked Questions About #040F62
What is the HEX code for Deep Vivid Blue? +
The HEX code for Deep Vivid Blue is #040F62. In CSS you can use it directly as color: #040F62; or as a background: background-color: #040F62;. 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 #040F62? +
The RGB value of #040F62 is rgb(4, 15, 98). This means the color contains 4 out of 255 parts red, 15 out of 255 parts green, and 98 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(4, 15, 98);
What is the HSL value of #040F62? +
The HSL value of #040F62 is hsl(233, 92%, 20%). The hue is 233°, placing it in the blue family on the color wheel. The saturation is 92%, making it vibrant. The lightness is 20%, making it dark. HSL is the most useful format for programmatic color manipulation in CSS, as you can easily adjust lightness to create tints and shades.
Is #040F62 a warm or cool color? +
#040F62 is classified as a cool color based on its hue angle of 233°. 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 #040F62? +
The approximate CMYK value of #040F62 is C:96% M:85% Y:0% K:62%. 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.