Maroon Colors  ·  Color Library

Palettes / Colors / #020FA2

#020FA2 — Vivid Blue

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

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

#020FA2 · RGB 2, 15, 162

Download PNG swatch SVG

Color values

HEX#020FA2
RGB2, 15, 162
HSL235°, 98%, 32%
HSV235°, 99%, 64%
CMYK99%, 91%, 0%, 36%
XYZ6.72, 2.96, 34.40
Yxy2.96, 0.1524, 0.0672
CIE-Lab19.90, 52.00, -74.33
Hunter Lab17.21, 41.09, -111.50

RGB & CMYK percentages

Red 1% · Green 6% · Blue 64%

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

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

Previews

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

CSS code for #020FA2

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

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

Shades of #020FA2

#010E92#010C83#010B79#010A6A#01085B#01074C#01063D#010532#000323#000214

Tints of #020FA2

#0212C0#0215E3#081CFD#2B3CFD#4958FD#6874FD#8B94FE#A9B0FE#CDD1FE#EBECFF

Tones of #020FA2

#0D1896#18228B#242C7F#2F3574#3B3F68#46485D

Color harmonies

Complementary — #A29402:

Analogous:

Triadic:

Contrast & accessibility

Against white text13.19:1 AAA
Against black text1.59:1 Fails

Best text color on #020FA2: #FFFFFF.

Semi-transparent (opacity) text on #020FA2

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

How #020FA2 looks with color blindness

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

Protanopia · #08087EDeuteranopia · #070676Tritanopia · #03625C

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 #020FA2 rather than the exact color:

Palette 050c9c
#050C9C · #3572EF · #3ABEF9 · #A7E6FF
Palette 0802a3
#0802A3 · #FF4B91 · #FF7676 · #FFCD4B
Silent Drift
#11AE94 · #1984C0 · #0B1B9F · #4B109E
Modern Monsoon
#1311A2 · #716BEF · #E8EA3B · #F5F0C4
Palette 04009a
#04009A · #77ACF1 · #3EDBF0 · #C0FEFC
Serene Aurora
#2EA0E7 · #1116A9 · #851FDA · #E72BCE

Similar colors

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

#050C9C#0802A3#0B1B9F#1311A2#04009A#1116A9#0E11B0#11009E#0E21A0#111FA2#001BB7#10128E

Browse neighbouring colors

← #020FA1  ·  #020FA3 →

Frequently asked questions

What color is #020FA2?

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

What is the RGB and HSL of #020FA2?

#020FA2 is RGB 2, 15, 162 — HSL 235°, 98%, 32% — CMYK 99%, 91%, 0%, 36%.

What colors go with #020FA2?

Its complement is #A29402; analogous partners are #025FA2 and #4402A2. It also appears in 6+ palettes in our collection.

Can I use #020FA2 for text?

White text on #020FA2 has a contrast ratio of 13.19:1 (passes WCAG AA); black text gives 1.59:1.