Maroon Colors  ·  Color Library

Palettes / Colors / #2004BA

#2004BA — Vivid Blue

#2004BA is a blue color we call Vivid Blue, closest to the named color DarkBlue (#00008B). It belongs to the blue family.

Color name

Closest CSS keyword: darkblue (#00008B) — not an exact match. CSS darkblue gives you #00008B, a different color; use #2004BA 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.

#2004BA 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 #9EB904; it also sits naturally between #0443B9 and #7A04B9. In the palettes below you can see it working alongside real color combinations from our collection.

#2004BA · RGB 32, 4, 186

Download PNG swatch SVG

Color values

HEX#2004BA
RGB32, 4, 186
HSL249°, 96%, 37%
HSV249°, 98%, 73%
CMYK83%, 98%, 0%, 27%
XYZ9.50, 3.94, 46.71
Yxy3.94, 0.1580, 0.0655
CIE-Lab23.47, 61.93, -82.79
Hunter Lab19.85, 52.61, -131.61

RGB & CMYK percentages

Red 13% · Green 2% · Blue 73%

Cyan 83% · Magenta 98% · Yellow 0% · Key 27%

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

Previews

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

CSS code for #2004BA

.text { color: #2004BA; }
.background { background-color: #2004BA; }
.border { border: 3px solid #2004BA; }
.text-rgb { color: rgb(32, 4, 186); }
.text-hsl { color: hsl(249, 96%, 37%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #2004BA; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(32, 4, 186, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #2004BA; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(32, 4, 186, 0.8); }

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

Shades of #2004BA

#1C03AA#190396#170387#140278#120269#0E0255#0C0146#090137#060123#030014

Tints of #2004BA

#2404D7#2905F5#3F1EFA#593CFB#725AFC#8873FC#A191FD#BBAFFD#D4CDFE#EEEBFF

Tones of #2004BA

#2811AC#311D9F#3A2A92#433885#4D4578#55516C

Color harmonies

Complementary — #9EB904:

Analogous:

Triadic:

Contrast & accessibility

Against white text11.75:1 AAA
Against black text1.79:1 Fails

Best text color on #2004BA: #FFFFFF.

Semi-transparent (opacity) text on #2004BA

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

How #2004BA looks with color blindness

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

Protanopia · #14148EDeuteranopia · #161883Tritanopia · #1F6B64

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:

Material Indigo 500 · #3F51B5Material Deep Purple 500 · #673AB7Tailwind indigo 600 · #4F46E5

Palettes with a similar color

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

Ruby Lagoon
#1F06AC · #0F42C0 · #5882E8 · #E3EF4F
Hidden Ruby Monsoon
#2117B8 · #8076EE · #D8E324 · #EAEB96
Royal Cascade
#2D13C1 · #6637EB · #BEDB16 · #E7F0A6
Royal Solace
#52DCD2 · #186CC0 · #2518BF · #5F1984
Silent Ruby Marble
#10B4BE · #10457E · #1719BC · #4F0F9C
Velvet Ruby Harbor
#1667AF · #1610CB · #8C12E1 · #DE12BF

Similar colors

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

#1F06AC#2117B8#2D13C1#2518BF#1719BC#1610CB#2919B2#0E11B0#1B1BC1#1A05A2#1B1CB4#261CC1

Browse neighbouring colors

← #2004B9  ·  #2004BB →

Frequently asked questions

What color is #2004BA?

#2004BA is Vivid Blue, a blue color (RGB 32, 4, 186). Its closest standard named color is DarkBlue.

What is the RGB and HSL of #2004BA?

#2004BA is RGB 32, 4, 186 — HSL 249°, 96%, 37% — CMYK 83%, 98%, 0%, 27%.

What colors go with #2004BA?

Its complement is #9EB904; analogous partners are #0443B9 and #7A04B9. It also appears in 6+ palettes in our collection.

Can I use #2004BA for text?

White text on #2004BA has a contrast ratio of 11.75:1 (passes WCAG AA); black text gives 1.79:1.