Maroon Colors  ·  Color Library

Palettes / Colors / #080640

#080640 — Dark Vivid Blue

#080640 is a blue color we call Dark Vivid Blue, closest to the named color MidnightBlue (#191970). It belongs to the blue family.

Color name

Closest CSS keyword: midnightblue (#191970) — not an exact match. CSS midnightblue gives you #191970, a different color; use #080640 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#080640 is a cool blue color associated with trust, calm and professionalism. It is deep enough for text, outlines and dark interface surfaces, and makes light colors glow next to it.

Its strongest partner is its complement #3F4106; it also sits naturally between #062241 and #260641. In the palettes below you can see it working alongside real color combinations from our collection.

#080640 · RGB 8, 6, 64

Download PNG swatch SVG

Color values

HEX#080640
RGB8, 6, 64
HSL242°, 83%, 14%
HSV242°, 91%, 25%
CMYK88%, 91%, 0%, 75%
XYZ1.09, 0.55, 4.90
Yxy0.55, 0.1667, 0.0844
CIE-Lab4.99, 22.32, -34.95
Hunter Lab7.43, 13.81, -35.62

RGB & CMYK percentages

Red 3% · Green 2% · Blue 25%

Cyan 88% · Magenta 91% · Yellow 0% · Key 75%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #080640 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #080640 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #080640

.text { color: #080640; }
.background { background-color: #080640; }
.border { border: 3px solid #080640; }
.text-rgb { color: rgb(8, 6, 64); }
.text-hsl { color: hsl(242, 83%, 14%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #080640; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(8, 6, 64, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #080640; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(8, 6, 64, 0.8); }

HTML: <p style="color:#080640">Text here</p> · <div style="background-color:#080640">Div content here</div>

Shades of #080640

#07063D#070538#060533#06042F#05042A#050325#040321#03031C#030217#020213

Tints of #080640

#0D0A67#110D8C#1611B6#1B14DB#332DEB#5852EF#7C78F2#A4A2F6#C9C7FA#EDECFD

Tones of #080640

#0C0A3D#100F39#141334#181731#1C1B2C#201F28

Color harmonies

Complementary — #3F4106:

Analogous:

Triadic:

Contrast & accessibility

Against white text18.91:1 AAA
Against black text1.11:1 Fails

Best text color on #080640: #FFFFFF.

Semi-transparent (opacity) text on #080640

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #080640: ·

How #080640 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #070732Deuteranopia · #07072FTritanopia · #082724

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Bootstrap dark · #212529Tailwind neutral 600 · #525252Tailwind slate 600 · #475569

Palettes with a similar color

These palettes use a close neighbour of #080640 rather than the exact color:

Palette 0a043c
#0A043C · #03506F · #BBBBBB · #FFE3D8
Palette 090040
#090040 · #471396 · #B13BFF · #FFCC00
Palette 070739
#070739 · #521477 · #C327AB · #E1E099
Gentle Ruby Cinder
#978AEA · #241297 · #190E5D · #10083F
Palette Ffa3ac
#FFA3AC · #00043C · #005D6C · #00C9B1
Palette 050e3c
#050E3C · #002455 · #DC0000 · #FF3838

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#0A043C#090040#070739#10083F#00043C#050E3C#060047#030637#0E0F44#010736#110F45#0F044C

Browse neighbouring colors

← #08063F  ·  #080641 →

Frequently asked questions

What color is #080640?

#080640 is Dark Vivid Blue, a blue color (RGB 8, 6, 64). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #080640?

#080640 is RGB 8, 6, 64 — HSL 242°, 83%, 14% — CMYK 88%, 91%, 0%, 75%.

What colors go with #080640?

Its complement is #3F4106; analogous partners are #062241 and #260641. It also appears in 6+ palettes in our collection.

Can I use #080640 for text?

White text on #080640 has a contrast ratio of 18.91:1 (passes WCAG AA); black text gives 1.11:1.