Maroon Colors  ·  Color Library

Palettes / Colors / #0804DB

#0804DB — Vivid Blue

#0804DB is a blue color we call Vivid Blue, closest to the named color Blue (#0000FF). It belongs to the blue family.

Color name

Closest CSS keyword: blue (#0000FF) — not an exact match. CSS blue gives you #0000FF, a different color; use #0804DB 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.

#0804DB 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 #D8DC04; it also sits naturally between #046DDC and #7404DC. In the palettes below you can see it working alongside real color combinations from our collection.

#0804DB · RGB 8, 4, 219

Download PNG swatch SVG

Color values

HEX#0804DB
RGB8, 4, 219
HSL241°, 96%, 44%
HSV241°, 98%, 86%
CMYK96%, 98%, 0%, 14%
XYZ12.93, 5.25, 67.35
Yxy5.25, 0.1512, 0.0614
CIE-Lab27.44, 69.89, -95.51
Hunter Lab22.92, 62.80, -165.56

RGB & CMYK percentages

Red 3% · Green 2% · Blue 86%

Cyan 96% · Magenta 98% · Yellow 0% · Key 14%

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

Previews

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

CSS code for #0804DB

.text { color: #0804DB; }
.background { background-color: #0804DB; }
.border { border: 3px solid #0804DB; }
.text-rgb { color: rgb(8, 4, 219); }
.text-hsl { color: hsl(241, 96%, 44%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #0804DB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(8, 4, 219, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #0804DB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(8, 4, 219, 0.8); }

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

Shades of #0804DB

#0704C8#0704B4#0603A0#05038C#040278#040264#030250#02013C#010128#010014

Tints of #0804DB

#0905F5#1D19FA#3A37FB#5350FB#6C69FC#8482FC#9D9BFD#BAB9FE#D3D2FE#EBEBFF

Tones of #0804DB

#1714CC#2523BE#3532AE#44429E#53528E#616080

Color harmonies

Complementary — #D8DC04:

Analogous:

Triadic:

Contrast & accessibility

Against white text10.24:1 AAA
Against black text2.05:1 Fails

Best text color on #0804DB: #FFFFFF.

Semi-transparent (opacity) text on #0804DB

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 #0804DB: ·

How #0804DB looks with color blindness

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

Protanopia · #0606A7Deuteranopia · #07079ATritanopia · #087E75

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:

Tailwind indigo 600 · #4F46E5Tailwind blue 600 · #2563EBMaterial Indigo 500 · #3F51B5

Palettes with a similar color

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

Velvet Ruby Harbor
#1667AF · #1610CB · #8C12E1 · #DE12BF
Tranquil Summit
#235EE8 · #2314D2 · #7524D7 · #A613C4
Amber Monsoon
#6B6BEB · #4B4BDD · #1D1DCD · #161688
Golden Ruby Meadow
#10A287 · #35C2E0 · #589CEC · #1323C7
Serene Monsoon
#07281D · #1416FB · #FA1FE0 · #F9D94B
Wild Ruby Monsoon
#827B10 · #E9C74D · #1B26E1 · #BCBDF2

Similar colors

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

#1610CB#2314D2#1D1DCD#1323C7#1416FB#1B26E1#1B1BC1#1719BC#1D24CA#1123C0#0E1FFC#001BB7

Browse neighbouring colors

← #0804DA  ·  #0804DC →

Frequently asked questions

What color is #0804DB?

#0804DB is Vivid Blue, a blue color (RGB 8, 4, 219). Its closest standard named color is Blue.

What is the RGB and HSL of #0804DB?

#0804DB is RGB 8, 4, 219 — HSL 241°, 96%, 44% — CMYK 96%, 98%, 0%, 14%.

What colors go with #0804DB?

Its complement is #D8DC04; analogous partners are #046DDC and #7404DC. It also appears in 6+ palettes in our collection.

Can I use #0804DB for text?

White text on #0804DB has a contrast ratio of 10.24:1 (passes WCAG AA); black text gives 2.05:1.