Maroon Colors  ·  Color Library

Palettes / Colors / #080271

#080271 — Deep Vivid Blue

#080271 is a blue color we call Deep Vivid Blue, closest to the named color Navy (#000080). It belongs to the blue family.

Color name

Closest CSS keyword: navy (#000080) — not an exact match. CSS navy gives you #000080, a different color; use #080271 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.

#080271 is a cool blue color associated with trust, calm and professionalism. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #6E7402; it also sits naturally between #023574 and #400274. In the palettes below you can see it working alongside real color combinations from our collection.

#080271 · RGB 8, 2, 113

Download PNG swatch SVG

Color values

HEX#080271
RGB8, 2, 113
HSL243°, 97%, 23%
HSV243°, 98%, 44%
CMYK93%, 98%, 0%, 56%
XYZ3.10, 1.29, 15.71
Yxy1.29, 0.1544, 0.0641
CIE-Lab11.19, 42.61, -58.02
Hunter Lab11.35, 30.03, -77.63

RGB & CMYK percentages

Red 3% · Green 1% · Blue 44%

Cyan 93% · Magenta 98% · Yellow 0% · Key 56%

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

Previews

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

CSS code for #080271

.text { color: #080271; }
.background { background-color: #080271; }
.border { border: 3px solid #080271; }
.text-rgb { color: rgb(8, 2, 113); }
.text-hsl { color: hsl(243, 97%, 23%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #080271; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(8, 2, 113, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #080271; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(8, 2, 113, 0.8); }

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

Shades of #080271

#070269#06015F#060155#05014B#050146#04013C#030132#030128#02001E#010014

Tints of #080271

#0A0297#0C03BF#0F03E2#1A0EFB#4036FC#6159FC#837CFD#A4A0FE#CAC8FE#ECEBFF

Tones of #080271

#0F0A6B#161263#1E1A5B#242253#2C2A4B#333243

Color harmonies

Complementary — #6E7402:

Analogous:

Triadic:

Contrast & accessibility

Against white text16.70:1 AAA
Against black text1.26:1 Fails

Best text color on #080271: #FFFFFF.

Semi-transparent (opacity) text on #080271

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 #080271: ·

How #080271 looks with color blindness

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

Protanopia · #050556Deuteranopia · #060650Tritanopia · #08413C

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

Palette Bf1a1a
#BF1A1A · #FF6C0C · #FFE08F · #060771
Palette 0c056d
#0C056D · #590D82 · #B61AAE · #F25D9C
Palette 120078
#120078 · #9D0191 · #FD3A69 · #FECD1A
Modern Orchard
#18438A · #0B0B7A · #360C7B · #8A14B0
Ruby Ember
#030164 · #363199 · #2D7495 · #E8E085
Palette 000080
#000080 · #FF0000 · #9E2A3A · #3A2525

Similar colors

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

#060771#0C056D#120078#0B0B7A#030164#000080#0D0B61#170C79#03045E#0D1164#1C0770#180161

Browse neighbouring colors

← #080270  ·  #080272 →

Frequently asked questions

What color is #080271?

#080271 is Deep Vivid Blue, a blue color (RGB 8, 2, 113). Its closest standard named color is Navy.

What is the RGB and HSL of #080271?

#080271 is RGB 8, 2, 113 — HSL 243°, 97%, 23% — CMYK 93%, 98%, 0%, 56%.

What colors go with #080271?

Its complement is #6E7402; analogous partners are #023574 and #400274. It also appears in 6+ palettes in our collection.

Can I use #080271 for text?

White text on #080271 has a contrast ratio of 16.70:1 (passes WCAG AA); black text gives 1.26:1.