Maroon Colors  ·  Color Library

Palettes / Colors / #2004D5

#2004D5 — Vivid Blue

#2004D5 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 #2004D5 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.

#2004D5 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 #BBD704; it also sits naturally between #0452D7 and #8A04D7. In the palettes below you can see it working alongside real color combinations from our collection.

#2004D5 · RGB 32, 4, 213

Download PNG swatch SVG

Color values

HEX#2004D5
RGB32, 4, 213
HSL248°, 96%, 43%
HSV248°, 98%, 84%
CMYK85%, 98%, 0%, 16%
XYZ12.65, 5.20, 63.29
Yxy5.20, 0.1559, 0.0641
CIE-Lab27.29, 68.68, -92.27
Hunter Lab22.80, 61.31, -155.62

RGB & CMYK percentages

Red 13% · Green 2% · Blue 84%

Cyan 85% · Magenta 98% · Yellow 0% · Key 16%

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

Previews

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

CSS code for #2004D5

.text { color: #2004D5; }
.background { background-color: #2004D5; }
.border { border: 3px solid #2004D5; }
.text-rgb { color: rgb(32, 4, 213); }
.text-hsl { color: hsl(248, 96%, 43%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #2004D5; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(32, 4, 213, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #2004D5; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(32, 4, 213, 0.8); }

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

Shades of #2004D5

#1D04C3#1A04AF#17039B#140387#120278#0F0264#0C0250#09013C#060128#030014

Tints of #2004D5

#2405F0#3719FA#4D32FB#634BFB#7D69FC#9282FC#A89BFD#BEB4FD#D8D2FE#EEEBFF

Tones of #2004D5

#2C14C8#3622B9#4131AA#4D419B#58508B#625E7D

Color harmonies

Complementary — #BBD704:

Analogous:

Triadic:

Contrast & accessibility

Against white text10.30:1 AAA
Against black text2.04:1 Fails

Best text color on #2004D5: #FFFFFF.

Semi-transparent (opacity) text on #2004D5

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 #2004D5: ·

How #2004D5 looks with color blindness

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

Protanopia · #1414A2Deuteranopia · #161896Tritanopia · #1F7B72

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 · #4F46E5Material Indigo 500 · #3F51B5Material Deep Purple 500 · #673AB7

Palettes with a similar color

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

Tranquil Summit
#235EE8 · #2314D2 · #7524D7 · #A613C4
Velvet Ruby Harbor
#1667AF · #1610CB · #8C12E1 · #DE12BF
Amber Monsoon
#6B6BEB · #4B4BDD · #1D1DCD · #161688
Royal Cascade
#2D13C1 · #6637EB · #BEDB16 · #E7F0A6
Serene Ruby Saffron
#0A4C86 · #132D93 · #301AC9 · #721CD8
Royal Solace
#52DCD2 · #186CC0 · #2518BF · #5F1984

Similar colors

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

#2314D2#1610CB#1D1DCD#2D13C1#301AC9#2518BF#351AD6#1B1BC1#261CC1#311FD6#2F1FC9#3A14C7

Browse neighbouring colors

← #2004D4  ·  #2004D6 →

Frequently asked questions

What color is #2004D5?

#2004D5 is Vivid Blue, a blue color (RGB 32, 4, 213). Its closest standard named color is Blue.

What is the RGB and HSL of #2004D5?

#2004D5 is RGB 32, 4, 213 — HSL 248°, 96%, 43% — CMYK 85%, 98%, 0%, 16%.

What colors go with #2004D5?

Its complement is #BBD704; analogous partners are #0452D7 and #8A04D7. It also appears in 6+ palettes in our collection.

Can I use #2004D5 for text?

White text on #2004D5 has a contrast ratio of 10.30:1 (passes WCAG AA); black text gives 2.04:1.