Maroon Colors  ·  Color Library

Palettes / Colors / #020CA2

#020CA2 — Vivid Blue

#020CA2 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 #020CA2 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.

#020CA2 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 #A29702; it also sits naturally between #025CA2 and #4702A2. In the palettes below you can see it working alongside real color combinations from our collection.

#020CA2 · RGB 2, 12, 162

Download PNG swatch SVG

Color values

HEX#020CA2
RGB2, 12, 162
HSL236°, 98%, 32%
HSV236°, 99%, 64%
CMYK99%, 93%, 0%, 36%
XYZ6.68, 2.88, 34.39
Yxy2.88, 0.1519, 0.0656
CIE-Lab19.58, 52.98, -74.86
Hunter Lab16.98, 42.03, -113.27

RGB & CMYK percentages

Red 1% · Green 5% · Blue 64%

Cyan 99% · Magenta 93% · Yellow 0% · Key 36%

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

Previews

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

CSS code for #020CA2

.text { color: #020CA2; }
.background { background-color: #020CA2; }
.border { border: 3px solid #020CA2; }
.text-rgb { color: rgb(2, 12, 162); }
.text-hsl { color: hsl(236, 98%, 32%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #020CA2; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(2, 12, 162, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #020CA2; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(2, 12, 162, 0.8); }

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

Shades of #020CA2

#010B92#010A83#010979#01086A#01075B#01064C#01053D#010432#000323#000214

Tints of #020CA2

#020FC0#0211E3#0818FD#2B39FD#4955FD#6872FD#8B93FE#A9AFFE#CDD0FE#EBECFF

Tones of #020CA2

#0D1696#18208B#242A7F#2F3474#3B3E68#46485D

Color harmonies

Complementary — #A29702:

Analogous:

Triadic:

Contrast & accessibility

Against white text13.32:1 AAA
Against black text1.58:1 Fails

Best text color on #020CA2: #FFFFFF.

Semi-transparent (opacity) text on #020CA2

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 #020CA2: ·

How #020CA2 looks with color blindness

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

Protanopia · #06067EDeuteranopia · #060575Tritanopia · #03615B

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 slate 600 · #475569

Palettes with a similar color

These palettes use a close neighbour of #020CA2 rather than the exact color:

Palette 050c9c
#050C9C · #3572EF · #3ABEF9 · #A7E6FF
Palette 0802a3
#0802A3 · #FF4B91 · #FF7676 · #FFCD4B
Palette 04009a
#04009A · #77ACF1 · #3EDBF0 · #C0FEFC
Modern Monsoon
#1311A2 · #716BEF · #E8EA3B · #F5F0C4
Silent Drift
#11AE94 · #1984C0 · #0B1B9F · #4B109E
Royal Ruby Voyage
#0E11B0 · #402DEE · #EDEA27 · #EFE692

Similar colors

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

#050C9C#0802A3#04009A#1311A2#0B1B9F#0E11B0#1116A9#11009E#111FA2#00028C#0E21A0#1A05A2

Browse neighbouring colors

← #020CA1  ·  #020CA3 →

Frequently asked questions

What color is #020CA2?

#020CA2 is Vivid Blue, a blue color (RGB 2, 12, 162). Its closest standard named color is DarkBlue.

What is the RGB and HSL of #020CA2?

#020CA2 is RGB 2, 12, 162 — HSL 236°, 98%, 32% — CMYK 99%, 93%, 0%, 36%.

What colors go with #020CA2?

Its complement is #A29702; analogous partners are #025CA2 and #4702A2. It also appears in 6+ palettes in our collection.

Can I use #020CA2 for text?

White text on #020CA2 has a contrast ratio of 13.32:1 (passes WCAG AA); black text gives 1.58:1.