Maroon Colors  ·  Color Library

Palettes / Colors / #2012DB

#2012DB — Vivid Blue

#2012DB 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 #2012DB 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.

#2012DB 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 #CCD912; it also sits naturally between #1268D9 and #8312D9. In the palettes below you can see it working alongside real color combinations from our collection.

#2012DB · RGB 32, 18, 219

Download PNG swatch SVG

Color values

HEX#2012DB
RGB32, 18, 219
HSL244°, 85%, 46%
HSV244°, 92%, 86%
CMYK85%, 92%, 0%, 14%
XYZ13.60, 5.85, 67.43
Yxy5.85, 0.1565, 0.0674
CIE-Lab29.04, 67.36, -92.82
Hunter Lab24.20, 60.21, -155.37

RGB & CMYK percentages

Red 13% · Green 7% · Blue 86%

Cyan 85% · Magenta 92% · Yellow 0% · Key 14%

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

Previews

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

CSS code for #2012DB

.text { color: #2012DB; }
.background { background-color: #2012DB; }
.border { border: 3px solid #2012DB; }
.text-rgb { color: rgb(32, 18, 219); }
.text-hsl { color: hsl(244, 85%, 46%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #2012DB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(32, 18, 219, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #2012DB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(32, 18, 219, 0.8); }

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

Shades of #2012DB

#1C10C6#1A0FB3#160D9C#130B89#110A76#0E0863#0B0750#080539#050326#030213

Tints of #2012DB

#2618EC#3C2FEE#5247F0#685FF2#7F76F4#958EF6#ABA5F8#C1BDFA#D7D5FC#EDECFD

Tones of #2012DB

#2B20CB#372EBD#433CAF#514BA0#5D5991#696783

Color harmonies

Complementary — #CCD912:

Analogous:

Triadic:

Contrast & accessibility

Against white text9.67:1 AAA
Against black text2.17:1 Fails

Best text color on #2012DB: #FFFFFF.

Semi-transparent (opacity) text on #2012DB

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

How #2012DB looks with color blindness

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

Protanopia · #1A1AAADeuteranopia · #1B1C9FTritanopia · #1F847C

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 · #3F51B5Tailwind blue 600 · #2563EB

Palettes with a similar color

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

Tranquil Summit
#235EE8 · #2314D2 · #7524D7 · #A613C4
Amber Monsoon
#6B6BEB · #4B4BDD · #1D1DCD · #161688
Velvet Ruby Harbor
#1667AF · #1610CB · #8C12E1 · #DE12BF
Frozen Ruby Dusk
#B11E1E · #1EB21E · #2726DB · #F2D2D2
Wild Ruby Monsoon
#827B10 · #E9C74D · #1B26E1 · #BCBDF2
Dusty Monsoon
#311FD6 · #B779E4 · #E54BDA · #E27CA9

Similar colors

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

#2314D2#1D1DCD#1610CB#2726DB#1B26E1#311FD6#351AD6#1D24CA#301AC9#1F2AD1#2F1FC9#2F26E7

Browse neighbouring colors

← #2012DA  ·  #2012DC →

Frequently asked questions

What color is #2012DB?

#2012DB is Vivid Blue, a blue color (RGB 32, 18, 219). Its closest standard named color is Blue.

What is the RGB and HSL of #2012DB?

#2012DB is RGB 32, 18, 219 — HSL 244°, 85%, 46% — CMYK 85%, 92%, 0%, 14%.

What colors go with #2012DB?

Its complement is #CCD912; analogous partners are #1268D9 and #8312D9. It also appears in 6+ palettes in our collection.

Can I use #2012DB for text?

White text on #2012DB has a contrast ratio of 9.67:1 (passes WCAG AA); black text gives 2.17:1.