Maroon Colors  ·  Color Library

Palettes / Colors / #021A36

#021A36 — Dark Vivid Blue

#021A36 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 #021A36 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.

#021A36 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 #361E02; it also sits naturally between #023436 and #040236. In the palettes below you can see it working alongside real color combinations from our collection.

#021A36 · RGB 2, 26, 54

Download PNG swatch SVG

Color values

HEX#021A36
RGB2, 26, 54
HSL212°, 93%, 11%
HSV212°, 96%, 21%
CMYK96%, 52%, 0%, 79%
XYZ1.06, 1.02, 3.63
Yxy1.02, 0.1857, 0.1783
CIE-Lab9.14, 3.35, -21.03
Hunter Lab10.09, 1.67, -15.39

RGB & CMYK percentages

Red 1% · Green 10% · Blue 21%

Cyan 96% · Magenta 52% · Yellow 0% · Key 79%

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

Previews

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

CSS code for #021A36

.text { color: #021A36; }
.background { background-color: #021A36; }
.border { border: 3px solid #021A36; }
.text-rgb { color: rgb(2, 26, 54); }
.text-hsl { color: hsl(212, 93%, 11%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #021A36; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(2, 26, 54, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #021A36; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(2, 26, 54, 0.8); }

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

Shades of #021A36

#021831#021831#02162C#011327#011327#011122#010E1E#010C19#010C19#010A14

Tints of #021A36

#043062#05438A#0759B6#086CDD#1D82F7#4498F8#70B0FA#98C6FB#C4DFFD#EBF4FE

Tones of #021A36

#061B32#0A1B2F#0D1B2B#111B27#141C24#181C20

Color harmonies

Complementary — #361E02:

Analogous:

Triadic:

Contrast & accessibility

Against white text17.45:1 AAA
Against black text1.20:1 Fails

Best text color on #021A36: #FFFFFF.

Semi-transparent (opacity) text on #021A36

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 #021A36: ·

How #021A36 looks with color blindness

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

Protanopia · #0C0D2FDeuteranopia · #0B092ETritanopia · #032A29

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 gray 600 · #4B5563

Palettes with a similar color

These palettes use a close neighbour of #021A36 rather than the exact color:

Palette 041c32
#041C32 · #04293A · #064663 · #ECB365
Palette 001c30
#001C30 · #176B87 · #64CCC5 · #DAFFFB
Palette 001f3d
#001F3D · #ED985F · #F7B980 · #E6E6E6
Mellow Terrace
#0B1636 · #4CFC86 · #E748F8 · #FAFD3E
Palette 001f3f
#001F3F · #3A6D8C · #6A9AB0 · #EAD8B1
Palette 001f3f
#001F3F · #083358 · #0DA574 · #FFD717

Similar colors

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

#041C32#001C30#001F3D#0B1636#001F3F#0D203A#06202B#091540#0B192C#050E3C#092635#0C192C

Browse neighbouring colors

← #021A35  ·  #021A37 →

Frequently asked questions

What color is #021A36?

#021A36 is Dark Vivid Blue, a blue color (RGB 2, 26, 54). Its closest standard named color is Black.

What is the RGB and HSL of #021A36?

#021A36 is RGB 2, 26, 54 — HSL 212°, 93%, 11% — CMYK 96%, 52%, 0%, 79%.

What colors go with #021A36?

Its complement is #361E02; analogous partners are #023436 and #040236. It also appears in 6+ palettes in our collection.

Can I use #021A36 for text?

White text on #021A36 has a contrast ratio of 17.45:1 (passes WCAG AA); black text gives 1.20:1.