✓ Copied to clipboard
#040F90 (Dark Vivid Blue) color swatch preview — Color From Pic.
#040F90 — Dark Vivid Blue color swatch

Dark Vivid Blue

#040F90

📝 Color Information for #040F90

The hexadecimal color code #040F90 represents a dark shade in the blue family. In the RGB color model, this color is composed of 4 red, 15 green, and 144 blue, which translates to approximately 2% red, 6% green, and 56% 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, #040F90 has a hue of 235 degrees, a saturation level of 95%, and a lightness value of 29%. The hue angle of 235° places this color firmly in the blue spectrum. In the HSV/HSB color model, this translates to a hue of 235°, saturation of 97%, and brightness/value of 56%. For print applications using the CMYK color model, #040F90 would be reproduced using 97% cyan, 90% magenta, 0% yellow, and 44% black. The closest web-safe color is #000099, 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 #040F90 with other colors, consider its complementary color at hue 55° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 266128, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #040F90

Tailwind CSS
blue-900
HEX
#040F90
RGB
rgb(4, 15, 144)
RGB %
2%, 6%, 56%
HSL
hsl(235, 95%, 29%)
HSV
hsv(235, 97%, 56%)
CMYK
97%, 90%, 0%, 44%
Decimal
266128
Web Safe
#000099

🎨 Color Schemes for #040F90

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #040F90

🌗 Shades and Tints of #040F90

Shades (adding black)
Tints (adding white)

🎚️ Tones of #040F90

Tones (adding gray / desaturating)

🌈 Hue Variations of #040F90

Hue Variations (shifting the color spectrum)

👁️ Preview of #040F90 in Use

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

👓 Color Blindness Simulation for #040F90

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 #040F90

:root { --color-hex: #040F90; --color-rgb: 4, 15, 144; --color-hsl: 235, 95%, 29%; } .bg-color { background-color: #040F90; } .text-color { color: #040F90; } .border-color { border-color: #040F90; }

🛠️ Use #040F90 in Your Project

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

🔗 Related Colors to #040F90

#045690
Hue -30°
#043390
Hue -15°
#1B0490
Hue +15°
#3E0490
Hue +30°
#030D7C
85% L
#030B63
70% L
#02084B
50% L
#01052D
30% L
#0517D6
43% L
#293BFA
57% L
#747FFB
72% L
#B9BFFD
86% L

About Dark Vivid Blue (#040F90)

Dark Vivid Blue is a dark, vibrant, cool blue color with a hue angle of 235°, saturation of 95%, and lightness of 29%. Its RGB value is (4, 15, 144) and its CMYK breakdown is C:97% M:90% Y:0% K:44%.

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 #040F90

What is the HEX code for Dark Vivid Blue? +

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

The RGB value of #040F90 is rgb(4, 15, 144). This means the color contains 4 out of 255 parts red, 15 out of 255 parts green, and 144 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, 144);

What is the HSL value of #040F90? +

The HSL value of #040F90 is hsl(235, 95%, 29%). The hue is 235°, placing it in the blue family on the color wheel. The saturation is 95%, making it vibrant. The lightness is 29%, 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 #040F90 a warm or cool color? +

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

The approximate CMYK value of #040F90 is C:97% M:90% Y:0% K:44%. 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 #040F90 with Other Tools

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