Maroon Colors  ·  Color Library

Palettes / Colors / #002E8A

#002E8A — Deep Vivid Blue

#002E8A 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 #002E8A 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.

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

#002E8A · RGB 0, 46, 138

Download PNG swatch SVG

Color values

HEX#002E8A
RGB0, 46, 138
HSL220°, 100%, 27%
HSV220°, 100%, 54%
CMYK100%, 67%, 0%, 46%
XYZ5.56, 3.79, 24.48
Yxy3.79, 0.1645, 0.1120
CIE-Lab22.96, 26.21, -54.44
Hunter Lab19.47, 18.29, -64.39

RGB & CMYK percentages

Red 0% · Green 18% · Blue 54%

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

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

Previews

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

CSS code for #002E8A

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

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

Shades of #002E8A

#002B80#002570#002266#001F5C#001B52#001642#001338#000F2E#000A1F#000714

Tints of #002E8A

#003AAD#0046D1#0052F5#1A66FF#3D7EFF#5C92FF#80AAFF#A3C2FF#C7DAFF#EBF1FF

Tones of #002E8A

#0A3180#143576#1E386C#273B62#313E59#3B424E

Color harmonies

Complementary — #8A5C00:

Analogous:

Triadic:

Contrast & accessibility

Against white text11.95:1 AAA
Against black text1.76:1 Fails

Best text color on #002E8A: #FFFFFF.

Semi-transparent (opacity) text on #002E8A

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

How #002E8A looks with color blindness

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

Protanopia · #141474Deuteranopia · #110E6ETritanopia · #02625E

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 #002E8A rather than the exact color:

Palette 003285
#003285 · #2A629A · #FF7F3E · #FFDA78
Palette 003092
#003092 · #00879E · #FFAB5B · #FFF2DB
Golden Cascade
#0F3191 · #5323BA · #D04BDF · #E82087
Palette D4ebf8
#D4EBF8 · #1F509A · #0A3981 · #E38E49
Vintage Ember
#0C337E · #2F87B0 · #41EEE6 · #95EBE9
Palette 112e81
#112E81 · #4647AE · #4382DF · #AACCD6

Similar colors

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

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

Browse neighbouring colors

← #002E89  ·  #002E8B →

Frequently asked questions

What color is #002E8A?

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

What is the RGB and HSL of #002E8A?

#002E8A is RGB 0, 46, 138 — HSL 220°, 100%, 27% — CMYK 100%, 67%, 0%, 46%.

What colors go with #002E8A?

Its complement is #8A5C00; analogous partners are #00738A and #17008A. It also appears in 6+ palettes in our collection.

Can I use #002E8A for text?

White text on #002E8A has a contrast ratio of 11.95:1 (passes WCAG AA); black text gives 1.76:1.