Maroon Colors  ·  Color Library

Palettes / Colors / #002C8A

#002C8A — Deep Vivid Blue

#002C8A is a blue color we call Deep Vivid Blue, closest to the named color MidnightBlue (#191970). It belongs to the blue family.

Color name

Closest CSS keyword: midnightblue (#191970) — not an exact match. CSS midnightblue gives you #191970, a different color; use #002C8A 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.

#002C8A 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 #8A5E00; it also sits naturally between #00708A and #19008A. In the palettes below you can see it working alongside real color combinations from our collection.

#002C8A · RGB 0, 44, 138

Download PNG swatch SVG

Color values

HEX#002C8A
RGB0, 44, 138
HSL221°, 100%, 27%
HSV221°, 100%, 54%
CMYK100%, 68%, 0%, 46%
XYZ5.49, 3.64, 24.46
Yxy3.64, 0.1634, 0.1083
CIE-Lab22.43, 27.61, -55.32
Hunter Lab19.07, 19.32, -66.18

RGB & CMYK percentages

Red 0% · Green 17% · Blue 54%

Cyan 100% · Magenta 68% · Yellow 0% · Key 46%

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

Previews

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

CSS code for #002C8A

.text { color: #002C8A; }
.background { background-color: #002C8A; }
.border { border: 3px solid #002C8A; }
.text-rgb { color: rgb(0, 44, 138); }
.text-hsl { color: hsl(221, 100%, 27%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #002C8A; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(0, 44, 138, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #002C8A; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(0, 44, 138, 0.8); }

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

Shades of #002C8A

#002880#002470#002066#001D5C#001A52#001542#001238#000F2E#000A1F#000614

Tints of #002C8A

#0037AD#0042D1#004EF5#1A62FF#3D7BFF#5C8FFF#80A8FF#A3C0FF#C7D9FF#EBF1FF

Tones of #002C8A

#0A2F80#143376#1E366C#273A62#313E59#3B414E

Color harmonies

Complementary — #8A5E00:

Analogous:

Triadic:

Contrast & accessibility

Against white text12.16:1 AAA
Against black text1.73:1 Fails

Best text color on #002C8A: #FFFFFF.

Semi-transparent (opacity) text on #002C8A

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 #002C8A: ·

How #002C8A looks with color blindness

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

Protanopia · #131373Deuteranopia · #110D6ETritanopia · #02615D

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 · #3F51B5Tailwind slate 600 · #475569Tailwind gray 600 · #4B5563

Palettes with a similar color

These palettes use a close neighbour of #002C8A rather than the exact color:

Palette 003285
#003285 · #2A629A · #FF7F3E · #FFDA78
Palette 003092
#003092 · #00879E · #FFAB5B · #FFF2DB
Golden Cascade
#0F3191 · #5323BA · #D04BDF · #E82087
Vintage Ember
#0C337E · #2F87B0 · #41EEE6 · #95EBE9
Palette D4ebf8
#D4EBF8 · #1F509A · #0A3981 · #E38E49
Palette Fffae6
#FFFAE6 · #FF9F66 · #FF5F00 · #002379

Similar colors

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

#003285#003092#0F3191#0C337E#0A3981#002379#112E81#05339C#132D93#004182#14287F#162E93

Browse neighbouring colors

← #002C89  ·  #002C8B →

Frequently asked questions

What color is #002C8A?

#002C8A is Deep Vivid Blue, a blue color (RGB 0, 44, 138). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #002C8A?

#002C8A is RGB 0, 44, 138 — HSL 221°, 100%, 27% — CMYK 100%, 68%, 0%, 46%.

What colors go with #002C8A?

Its complement is #8A5E00; analogous partners are #00708A and #19008A. It also appears in 6+ palettes in our collection.

Can I use #002C8A for text?

White text on #002C8A has a contrast ratio of 12.16:1 (passes WCAG AA); black text gives 1.73:1.