Maroon Colors  ·  Color Library

Palettes / Colors / #08005C

#08005C — Deep Vivid Blue

#08005C is a blue color we call Deep 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 #08005C 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.

#08005C 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 #545C00; it also sits naturally between #00265C and #36005C. In the palettes below you can see it working alongside real color combinations from our collection.

#08005C · RGB 8, 0, 92

Download PNG swatch SVG

Color values

HEX#08005C
RGB8, 0, 92
HSL245°, 100%, 18%
HSV245°, 100%, 36%
CMYK91%, 100%, 0%, 64%
XYZ2.03, 0.82, 10.18
Yxy0.82, 0.1559, 0.0632
CIE-Lab7.45, 37.71, -50.34
Hunter Lab9.08, 24.93, -62.93

RGB & CMYK percentages

Red 3% · Green 0% · Blue 36%

Cyan 91% · Magenta 100% · Yellow 0% · Key 64%

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

Previews

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

CSS code for #08005C

.text { color: #08005C; }
.background { background-color: #08005C; }
.border { border: 3px solid #08005C; }
.text-rgb { color: rgb(8, 0, 92); }
.text-hsl { color: hsl(245, 100%, 18%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #08005C; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(8, 0, 92, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #08005C; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(8, 0, 92, 0.8); }

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

Shades of #08005C

#070057#06004D#060047#05003D#050038#040033#030029#030024#020019#020014

Tints of #08005C

#0B0085#0E00AD#1100D1#1500FA#3624FF#5B4DFF#8175FF#A299FF#C7C2FF#ECEBFF

Tones of #08005C

#0D0655#130D4E#181448#1D1A42#23213B#292734

Color harmonies

Complementary — #545C00:

Analogous:

Triadic:

Contrast & accessibility

Against white text18.03:1 AAA
Against black text1.16:1 Fails

Best text color on #08005C: #FFFFFF.

Semi-transparent (opacity) text on #08005C

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 #08005C: ·

How #08005C looks with color blindness

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

Protanopia · #050446Deuteranopia · #050640Tritanopia · #083430

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 slate 600 · #475569Tailwind gray 600 · #4B5563

Palettes with a similar color

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

Ocean Cold
#03045E · #0077B6 · #00B4D8 · #CAF0F8
Palette 010059
#010059 · #107595 · #FDBFB3 · #FCF594
Ruby Ember
#030164 · #363199 · #2D7495 · #E8E085
Palette Dbdbeb
#DBDBEB · #7577CD · #080957 · #FF6D02
Palette 000957
#000957 · #344CB7 · #577BC1 · #FFEB00
Palette 0d0b61
#0D0B61 · #294669 · #478B8D · #E4D329

Similar colors

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

#03045E#010059#030164#080957#000957#0D0B61#000B58#05004E#091057#180161#150050#0F044C

Browse neighbouring colors

← #08005B  ·  #08005D →

Frequently asked questions

What color is #08005C?

#08005C is Deep Vivid Blue, a blue color (RGB 8, 0, 92). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #08005C?

#08005C is RGB 8, 0, 92 — HSL 245°, 100%, 18% — CMYK 91%, 100%, 0%, 64%.

What colors go with #08005C?

Its complement is #545C00; analogous partners are #00265C and #36005C. It also appears in 6+ palettes in our collection.

Can I use #08005C for text?

White text on #08005C has a contrast ratio of 18.03:1 (passes WCAG AA); black text gives 1.16:1.