Maroon Colors  ·  Color Library

Palettes / Colors / #02016B

#02016B — Deep Vivid Blue

#02016B is a blue color we call Deep Vivid Blue, closest to the named color Navy (#000080). It belongs to the blue family.

Color name

Closest CSS keyword: navy (#000080) — not an exact match. CSS navy gives you #000080, a different color; use #02016B 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.

#02016B is a cool blue color associated with trust, calm and professionalism. It is deep enough for text, outlines and dark interface surfaces, and makes light colors glow next to it.

Its strongest partner is its complement #686A01; it also sits naturally between #01346A and #37016A. In the palettes below you can see it working alongside real color combinations from our collection.

#02016B · RGB 2, 1, 107

Download PNG swatch SVG

Color values

HEX#02016B
RGB2, 1, 107
HSL241°, 98%, 21%
HSV241°, 99%, 42%
CMYK98%, 99%, 0%, 58%
XYZ2.69, 1.10, 13.98
Yxy1.10, 0.1514, 0.0617
CIE-Lab9.77, 41.30, -56.47
Hunter Lab10.47, 28.54, -75.19

RGB & CMYK percentages

Red 1% · Green 0% · Blue 42%

Cyan 98% · Magenta 99% · Yellow 0% · Key 58%

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

Previews

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

CSS code for #02016B

.text { color: #02016B; }
.background { background-color: #02016B; }
.border { border: 3px solid #02016B; }
.text-rgb { color: rgb(2, 1, 107); }
.text-hsl { color: hsl(241, 98%, 21%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #02016B; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(2, 1, 107, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #02016B; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(2, 1, 107, 0.8); }

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

Shades of #02016B

#030160#02015B#020151#020147#020142#010138#01002D#010023#01001E#010014

Tints of #02016B

#040192#0502B6#0602DE#0C08FD#3330FD#5653FD#7E7CFE#A19FFE#C8C7FE#EBEBFF

Tones of #02016B

#0A0963#11105B#191854#201F4C#272745#2E2E3D

Color harmonies

Complementary — #686A01:

Analogous:

Triadic:

Contrast & accessibility

Against white text17.22:1 AAA
Against black text1.22:1 Fails

Best text color on #02016B: #FFFFFF.

Semi-transparent (opacity) text on #02016B

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 #02016B: ·

How #02016B looks with color blindness

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

Protanopia · #020251Deuteranopia · #02024BTritanopia · #023D39

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:

Bootstrap dark · #212529Tailwind slate 600 · #475569Tailwind gray 600 · #4B5563

Palettes with a similar color

These palettes use a close neighbour of #02016B rather than the exact color:

Ruby Ember
#030164 · #363199 · #2D7495 · #E8E085
Palette Bf1a1a
#BF1A1A · #FF6C0C · #FFE08F · #060771
Palette 0c056d
#0C056D · #590D82 · #B61AAE · #F25D9C
Ocean Cold
#03045E · #0077B6 · #00B4D8 · #CAF0F8
Palette 0d0b61
#0D0B61 · #294669 · #478B8D · #E4D329
Palette 010059
#010059 · #107595 · #FDBFB3 · #FCF594

Similar colors

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

#030164#060771#0C056D#03045E#0D0B61#010059#0B0B7A#0D1164#120078#000080#000B58#000957

Browse neighbouring colors

← #02016A  ·  #02016C →

Frequently asked questions

What color is #02016B?

#02016B is Deep Vivid Blue, a blue color (RGB 2, 1, 107). Its closest standard named color is Navy.

What is the RGB and HSL of #02016B?

#02016B is RGB 2, 1, 107 — HSL 241°, 98%, 21% — CMYK 98%, 99%, 0%, 58%.

What colors go with #02016B?

Its complement is #686A01; analogous partners are #01346A and #37016A. It also appears in 6+ palettes in our collection.

Can I use #02016B for text?

White text on #02016B has a contrast ratio of 17.22:1 (passes WCAG AA); black text gives 1.22:1.