Maroon Colors  ·  Color Library

Palettes / Colors / #021A2C

#021A2C — Dark Vivid Blue

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

#021A2C 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 #2C1402; it also sits naturally between #022C29 and #02052C. In the palettes below you can see it working alongside real color combinations from our collection.

#021A2C · RGB 2, 26, 44

Download PNG swatch SVG

Color values

HEX#021A2C
RGB2, 26, 44
HSL206°, 91%, 9%
HSV206°, 95%, 17%
CMYK95%, 41%, 0%, 83%
XYZ0.85, 0.93, 2.52
Yxy0.93, 0.1974, 0.2171
CIE-Lab8.43, -1.54, -14.87
Hunter Lab9.66, -0.72, -9.57

RGB & CMYK percentages

Red 1% · Green 10% · Blue 17%

Cyan 95% · Magenta 41% · Yellow 0% · Key 83%

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

Previews

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

CSS code for #021A2C

.text { color: #021A2C; }
.background { background-color: #021A2C; }
.border { border: 3px solid #021A2C; }
.text-rgb { color: rgb(2, 26, 44); }
.text-hsl { color: hsl(206, 91%, 9%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #021A2C; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(2, 26, 44, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #021A2C; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(2, 26, 44, 0.8); }

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

Shades of #021A2C

#021A2C#021727#021727#021422#021422#01111D#01111D#010E18#010E18#010B13

Tints of #021A2C

#043358#064A7F#0864AA#0A7ED6#1A96F4#41A8F6#6DBCF8#99D0FA#C0E2FC#ECF6FE

Tones of #021A2C

#051929#081926#0B1923#0E1820#11181D#14171A

Color harmonies

Complementary — #2C1402:

Analogous:

Triadic:

Contrast & accessibility

Against white text17.70:1 AAA
Against black text1.19:1 Fails

Best text color on #021A2C: #FFFFFF.

Semi-transparent (opacity) text on #021A2C

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

How #021A2C looks with color blindness

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

Protanopia · #0C0D28Deuteranopia · #0B0927Tritanopia · #032423

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 #021A2C rather than the exact color:

Palette 001c30
#001C30 · #176B87 · #64CCC5 · #DAFFFB
Palette 061e29
#061E29 · #1D546D · #5F9598 · #F3F4F4
Palette 041c32
#041C32 · #04293A · #064663 · #ECB365
Palette Fdeb9e
#FDEB9E · #7AE2CF · #077A7D · #06202B
Palette 021526
#021526 · #03346E · #6EACDA · #E2E2B6
Palette Ff6500
#FF6500 · #1E3E62 · #0B192C · #000000

Similar colors

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

#001C30#061E29#041C32#06202B#021526#0B192C#082028#001524#0C1A2B#0C192C#09122C#0A1A23

Browse neighbouring colors

← #021A2B  ·  #021A2D →

Frequently asked questions

What color is #021A2C?

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

What is the RGB and HSL of #021A2C?

#021A2C is RGB 2, 26, 44 — HSL 206°, 91%, 9% — CMYK 95%, 41%, 0%, 83%.

What colors go with #021A2C?

Its complement is #2C1402; analogous partners are #022C29 and #02052C. It also appears in 6+ palettes in our collection.

Can I use #021A2C for text?

White text on #021A2C has a contrast ratio of 17.70:1 (passes WCAG AA); black text gives 1.19:1.