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

Dark Vivid Blue

#0840BA

📝 Color Information for #0840BA

The hexadecimal color code #0840BA represents a dark shade in the blue family. In the RGB color model, this color is composed of 8 red, 64 green, and 186 blue, which translates to approximately 3% red, 25% green, and 73% 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, #0840BA has a hue of 221 degrees, a saturation level of 92%, and a lightness value of 38%. 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 96%, and brightness/value of 73%. For print applications using the CMYK color model, #0840BA would be reproduced using 96% cyan, 66% magenta, 0% yellow, and 27% black. The closest web-safe color is #0033CC, 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 high saturation makes this color vibrant and attention-grabbing, ideal for call-to-action buttons, highlights, and accent elements. When pairing #0840BA 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 540858, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #0840BA

Tailwind CSS
blue-800
HEX
#0840BA
RGB
rgb(8, 64, 186)
RGB %
3%, 25%, 73%
HSL
hsl(221, 92%, 38%)
HSV
hsv(221, 96%, 73%)
CMYK
96%, 66%, 0%, 27%
Decimal
540858
Web Safe
#0033CC

🎨 Color Schemes for #0840BA

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #0840BA

🌗 Shades and Tints of #0840BA

Shades (adding black)
Tints (adding white)

🎚️ Tones of #0840BA

Tones (adding gray / desaturating)

🌈 Hue Variations of #0840BA

Hue Variations (shifting the color spectrum)

👁️ Preview of #0840BA in Use

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

👓 Color Blindness Simulation for #0840BA

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 #0840BA

:root { --color-hex: #0840BA; --color-rgb: 8, 64, 186; --color-hsl: 221, 92%, 38%; } .bg-color { background-color: #0840BA; } .text-color { color: #0840BA; } .border-color { border-color: #0840BA; }

🛠️ Use #0840BA in Your Project

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

🔗 Related Colors to #0840BA

#0899BA
Hue -30°
#086DBA
Hue -15°
#0814BA
Hue +15°
#2808BA
Hue +30°
#07369D
85% L
#062E84
70% L
#04205D
50% L
#021336
30% L
#0A54F5
50% L
#4A81F7
63% L
#85AAFA
75% L
#C4D6FD
88% L

About Dark Vivid Blue (#0840BA)

Dark Vivid Blue is a medium, vibrant, cool blue color with a hue angle of 221°, saturation of 92%, and lightness of 38%. Its RGB value is (8, 64, 186) and its CMYK breakdown is C:96% M:66% Y:0% K:27%.

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 #0840BA

What is the HEX code for Dark Vivid Blue? +

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

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

What is the HSL value of #0840BA? +

The HSL value of #0840BA is hsl(221, 92%, 38%). The hue is 221°, placing it in the blue family on the color wheel. The saturation is 92%, making it vibrant. 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 #0840BA a warm or cool color? +

#0840BA 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 #0840BA? +

The approximate CMYK value of #0840BA is C:96% M:66% Y:0% K:27%. 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 #0840BA with Other Tools

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