Maroon Colors  ·  Color Library

Palettes / Colors / #2012DF

#2012DF — Vivid Blue

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

#2012DF 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 #D0DE12; it also sits naturally between #126ADE and #8512DE. In the palettes below you can see it working alongside real color combinations from our collection.

#2012DF · RGB 32, 18, 223

Download PNG swatch SVG

Color values

HEX#2012DF
RGB32, 18, 223
HSL244°, 85%, 47%
HSV244°, 92%, 87%
CMYK86%, 92%, 0%, 13%
XYZ14.13, 6.07, 70.24
Yxy6.07, 0.1563, 0.0671
CIE-Lab29.58, 68.41, -94.22
Hunter Lab24.63, 61.58, -159.05

RGB & CMYK percentages

Red 13% · Green 7% · Blue 87%

Cyan 86% · Magenta 92% · Yellow 0% · Key 13%

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

Previews

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

CSS code for #2012DF

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

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

Shades of #2012DF

#1D10CB#1A0FB3#170DA0#140B8E#110A7B#0E0863#0B0750#09053D#050326#030213

Tints of #2012DF

#2A1DED#4134EF#574CF0#6D63F2#837BF4#958EF6#ABA5F8#C1BDFA#D7D5FC#EDECFD

Tones of #2012DF

#2C20CF#382FC1#453DB3#524DA3#5F5B95#6B6986

Color harmonies

Complementary — #D0DE12:

Analogous:

Triadic:

Contrast & accessibility

Against white text9.49:1 AAA
Against black text2.21:1 Fails

Best text color on #2012DF: #FFFFFF.

Semi-transparent (opacity) text on #2012DF

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

How #2012DF looks with color blindness

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

Protanopia · #1A1AADDeuteranopia · #1B1CA2Tritanopia · #1F867E

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

Tranquil Summit
#235EE8 · #2314D2 · #7524D7 · #A613C4
Wild Ruby Monsoon
#827B10 · #E9C74D · #1B26E1 · #BCBDF2
Amber Monsoon
#6B6BEB · #4B4BDD · #1D1DCD · #161688
Frozen Ruby Dusk
#B11E1E · #1EB21E · #2726DB · #F2D2D2
Velvet Ruby Harbor
#1667AF · #1610CB · #8C12E1 · #DE12BF
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#1B26E1#1D1DCD#2726DB#1610CB#311FD6#351AD6#2F26E7#1F2AD1#1D24CA#252CE8#301AC9

Browse neighbouring colors

← #2012DE  ·  #2012E0 →

Frequently asked questions

What color is #2012DF?

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

What is the RGB and HSL of #2012DF?

#2012DF is RGB 32, 18, 223 — HSL 244°, 85%, 47% — CMYK 86%, 92%, 0%, 13%.

What colors go with #2012DF?

Its complement is #D0DE12; analogous partners are #126ADE and #8512DE. It also appears in 6+ palettes in our collection.

Can I use #2012DF for text?

White text on #2012DF has a contrast ratio of 9.49:1 (passes WCAG AA); black text gives 2.21:1.