Maroon Colors  ·  Color Library

Palettes / Colors / #080C4F

#080C4F — Deep Vivid Blue

#080C4F 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 #080C4F 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.

#080C4F 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 #4F4B08; it also sits naturally between #082F4F and #28084F. In the palettes below you can see it working alongside real color combinations from our collection.

#080C4F · RGB 8, 12, 79

Download PNG swatch SVG

Color values

HEX#080C4F
RGB8, 12, 79
HSL237°, 82%, 17%
HSV237°, 90%, 31%
CMYK90%, 85%, 0%, 69%
XYZ1.64, 0.88, 7.48
Yxy0.88, 0.1643, 0.0879
CIE-Lab7.94, 26.09, -40.64
Hunter Lab9.38, 15.61, -42.84

RGB & CMYK percentages

Red 3% · Green 5% · Blue 31%

Cyan 90% · Magenta 85% · Yellow 0% · Key 69%

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

Previews

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

CSS code for #080C4F

.text { color: #080C4F; }
.background { background-color: #080C4F; }
.border { border: 3px solid #080C4F; }
.text-rgb { color: rgb(8, 12, 79); }
.text-hsl { color: hsl(237, 82%, 17%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #080C4F; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(8, 12, 79, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #080C4F; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(8, 12, 79, 0.8); }

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

Shades of #080C4F

#070B4A#060941#06093C#060838#050733#04062A#040525#030520#020317#020313

Tints of #080C4F

#0B1174#0F1699#131BBE#1621E3#3740EB#585FEE#7D83F2#A2A6F6#C7CAF9#ECEDFD

Tones of #080C4F

#0D104A#121445#171940#1C1E3B#212235#262731

Color harmonies

Complementary — #4F4B08:

Analogous:

Triadic:

Contrast & accessibility

Against white text17.86:1 AAA
Against black text1.18:1 Fails

Best text color on #080C4F: #FFFFFF.

Semi-transparent (opacity) text on #080C4F

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 #080C4F: ·

How #080C4F looks with color blindness

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

Protanopia · #0A0A3FDeuteranopia · #0A093BTritanopia · #08322F

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 #080C4F rather than the exact color:

Palette 0c134f
#0C134F · #1D267D · #5C469C · #D4ADFC
Palette Dbdbeb
#DBDBEB · #7577CD · #080957 · #FF6D02
Palette 091057
#091057 · #024CAA · #EC8305 · #DBD3D3
Palette 0f044c
#0F044C · #141E61 · #787A91 · #EEEEEE
Palette 000957
#000957 · #344CB7 · #577BC1 · #FFEB00
Palette 000b58
#000B58 · #003161 · #006A67 · #FDEB9E

Similar colors

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

#0C134F#080957#091057#0F044C#000957#000B58#05004E#121155#0E0F44#071952#0B1849#110F45

Browse neighbouring colors

← #080C4E  ·  #080C50 →

Frequently asked questions

What color is #080C4F?

#080C4F is Deep Vivid Blue, a blue color (RGB 8, 12, 79). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #080C4F?

#080C4F is RGB 8, 12, 79 — HSL 237°, 82%, 17% — CMYK 90%, 85%, 0%, 69%.

What colors go with #080C4F?

Its complement is #4F4B08; analogous partners are #082F4F and #28084F. It also appears in 6+ palettes in our collection.

Can I use #080C4F for text?

White text on #080C4F has a contrast ratio of 17.86:1 (passes WCAG AA); black text gives 1.18:1.