Maroon Colors  ·  Color Library

Palettes / Colors / #02011D

#02011D — Dark Vivid Blue

#02011D is a blue color we call Dark Vivid Blue, closest to the named color Black (#000000). It belongs to the blue family.

Color name

Closest CSS keyword: black (#000000) — not an exact match. CSS black gives you #000000, a different color; use #02011D 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.

#02011D 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 #1D1E01; it also sits naturally between #010E1E and #10011E. In the palettes below you can see it working alongside real color combinations from our collection.

#02011D · RGB 2, 1, 29

Download PNG swatch SVG

Color values

HEX#02011D
RGB2, 1, 29
HSL242°, 93%, 6%
HSV242°, 97%, 11%
CMYK93%, 97%, 0%, 89%
XYZ0.26, 0.12, 1.17
Yxy0.12, 0.1658, 0.0794
CIE-Lab1.11, 5.75, -14.66
Hunter Lab3.51, 7.25, -18.20

RGB & CMYK percentages

Red 1% · Green 0% · Blue 11%

Cyan 93% · Magenta 97% · Yellow 0% · Key 89%

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

Previews

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

CSS code for #02011D

.text { color: #02011D; }
.background { background-color: #02011D; }
.border { border: 3px solid #02011D; }
.text-rgb { color: rgb(2, 1, 29); }
.text-hsl { color: hsl(242, 93%, 6%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #02011D; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(2, 1, 29, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #02011D; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(2, 1, 29, 0.8); }

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

Shades of #02011D

#02011E#02011E#020119#020119#020119#020119#020119#010114#010114#010114

Tints of #02011D

#05034A#080476#0B06A2#0E07CF#160EF6#403AF8#6B66F9#9693FB#C1BFFD#ECEBFE

Tones of #02011D

#04031C#060519#080717#0A0915#0B0B13#0D0D11

Color harmonies

Complementary — #1D1E01:

Analogous:

Triadic:

Contrast & accessibility

Against white text20.49:1 AAA
Against black text1.02:1 Fails

Best text color on #02011D: #FFFFFF.

Semi-transparent (opacity) text on #02011D

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 #02011D: ·

How #02011D looks with color blindness

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

Protanopia · #020216Deuteranopia · #020215Tritanopia · #021110

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 neutral 600 · #525252Tailwind stone 600 · #57534E

Palettes with a similar color

These palettes use a close neighbour of #02011D rather than the exact color:

Mellow Ruby Meadow
#08071C · #9FFE2C · #FA5451 · #3CFC18
Palette 2f2fe4
#2F2FE4 · #162E93 · #1A1953 · #080616
Rustic Ruby Petal
#0A0A21 · #30FE55 · #4FFCE2 · #F819E1
Electric Ruby Drift
#0E0619 · #F7F128 · #23FD79 · #58FB26
Wild Aurora
#0D0821 · #45FF65 · #39FBC8 · #80FF3B
Silent Ruby Meadow
#0E0818 · #0EFCF0 · #F72EAF · #8BFE42

Similar colors

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

#08071C#080616#0A0A21#0E0619#0D0821#0E0818#040D12#041122#090C28#0B0F22#110A1C#0F0D1D

Browse neighbouring colors

← #02011C  ·  #02011E →

Frequently asked questions

What color is #02011D?

#02011D is Dark Vivid Blue, a blue color (RGB 2, 1, 29). Its closest standard named color is Black.

What is the RGB and HSL of #02011D?

#02011D is RGB 2, 1, 29 — HSL 242°, 93%, 6% — CMYK 93%, 97%, 0%, 89%.

What colors go with #02011D?

Its complement is #1D1E01; analogous partners are #010E1E and #10011E. It also appears in 6+ palettes in our collection.

Can I use #02011D for text?

White text on #02011D has a contrast ratio of 20.49:1 (passes WCAG AA); black text gives 1.02:1.