Maroon Colors  ·  Color Library

Palettes / Colors / #2002AB

#2002AB — Vivid Blue

#2002AB 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 #2002AB 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.

#2002AB 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 #8DAC02; it also sits naturally between #0238AC and #7602AC. In the palettes below you can see it working alongside real color combinations from our collection.

#2002AB · RGB 32, 2, 171

Download PNG swatch SVG

Color values

HEX#2002AB
RGB32, 2, 171
HSL251°, 98%, 34%
HSV251°, 99%, 67%
CMYK81%, 99%, 0%, 33%
XYZ7.97, 3.29, 38.74
Yxy3.29, 0.1594, 0.0658
CIE-Lab21.17, 58.60, -77.63
Hunter Lab18.14, 48.38, -119.34

RGB & CMYK percentages

Red 13% · Green 1% · Blue 67%

Cyan 81% · Magenta 99% · Yellow 0% · Key 33%

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

Previews

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

CSS code for #2002AB

.text { color: #2002AB; }
.background { background-color: #2002AB; }
.border { border: 3px solid #2002AB; }
.text-rgb { color: rgb(32, 2, 171); }
.text-hsl { color: hsl(251, 98%, 34%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #2002AB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(32, 2, 171, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #2002AB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(32, 2, 171, 0.8); }

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

Shades of #2002AB

#1E029D#1B018D#18017E#15016F#120160#0F0151#0D0142#0A0132#070023#040014

Tints of #2002AB

#2702CA#2C02E8#3D12FD#5630FD#6E4EFD#876DFE#A08BFE#BDAEFE#D6CDFE#EEEBFF

Tones of #2002AB

#290EA0#301A93#382687#40327B#473E6F#4F4B63

Color harmonies

Complementary — #8DAC02:

Analogous:

Triadic:

Contrast & accessibility

Against white text12.66:1 AAA
Against black text1.66:1 Fails

Best text color on #2002AB: #FFFFFF.

Semi-transparent (opacity) text on #2002AB

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 #2002AB: ·

How #2002AB looks with color blindness

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

Protanopia · #131382Deuteranopia · #151778Tritanopia · #1F625B

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 #2002AB rather than the exact color:

Ruby Lagoon
#1F06AC · #0F42C0 · #5882E8 · #E3EF4F
Palette 1a05a2
#1A05A2 · #8F0177 · #DE1A58 · #F67D31
Palette 11009e
#11009E · #4942E4 · #E6B9DE · #FAE7F3
Modern Monsoon
#1311A2 · #716BEF · #E8EA3B · #F5F0C4
Royal Ruby Voyage
#0E11B0 · #402DEE · #EDEA27 · #EFE692
Hidden Ruby Monsoon
#2117B8 · #8076EE · #D8E324 · #EAEB96

Similar colors

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

#1F06AC#1A05A2#11009E#1311A2#0E11B0#2117B8#1116A9#0802A3#2919B2#241297#1A1CAE#2E19A9

Browse neighbouring colors

← #2002AA  ·  #2002AC →

Frequently asked questions

What color is #2002AB?

#2002AB is Vivid Blue, a blue color (RGB 32, 2, 171). Its closest standard named color is DarkBlue.

What is the RGB and HSL of #2002AB?

#2002AB is RGB 32, 2, 171 — HSL 251°, 98%, 34% — CMYK 81%, 99%, 0%, 33%.

What colors go with #2002AB?

Its complement is #8DAC02; analogous partners are #0238AC and #7602AC. It also appears in 6+ palettes in our collection.

Can I use #2002AB for text?

White text on #2002AB has a contrast ratio of 12.66:1 (passes WCAG AA); black text gives 1.66:1.