Maroon Colors  ·  Color Library

Palettes / Colors / #0004E1

#0004E1 — Vivid Blue

#0004E1 is a blue color we call Vivid Blue, closest to the named color Blue (#0000FF). It belongs to the blue family.

Color name

Closest CSS keyword: blue (#0000FF) — not an exact match. CSS blue gives you #0000FF, a different color; use #0004E1 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.

#0004E1 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 #E0DD00; it also sits naturally between #0074E0 and #6C00E0. In the palettes below you can see it working alongside real color combinations from our collection.

#0004E1 · RGB 0, 4, 225

Download PNG swatch SVG

Color values

HEX#0004E1
RGB0, 4, 225
HSL239°, 100%, 44%
HSV239°, 100%, 88%
CMYK100%, 98%, 0%, 12%
XYZ13.63, 5.52, 71.58
Yxy5.52, 0.1503, 0.0609
CIE-Lab28.18, 71.32, -97.74
Hunter Lab23.50, 64.70, -171.78

RGB & CMYK percentages

Red 0% · Green 2% · Blue 88%

Cyan 100% · Magenta 98% · Yellow 0% · Key 12%

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

Previews

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

CSS code for #0004E1

.text { color: #0004E1; }
.background { background-color: #0004E1; }
.border { border: 3px solid #0004E1; }
.text-rgb { color: rgb(0, 4, 225); }
.text-hsl { color: hsl(239, 100%, 44%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #0004E1; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(0, 4, 225, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #0004E1; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(0, 4, 225, 0.8); }

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

Shades of #0004E1

#0003CC#0003B8#0003A3#00028F#00027A#000266#000152#00013D#000129#000014

Tints of #0004E1

#0004FA#1418FF#3336FF#4D4FFF#6669FF#8082FF#999BFF#B8B9FF#D1D2FF#EBEBFF

Tones of #0004E1

#1013D1#2123C0#3032B0#4042A0#505191#606180

Color harmonies

Complementary — #E0DD00:

Analogous:

Triadic:

Contrast & accessibility

Against white text9.98:1 AAA
Against black text2.10:1 Fails

Best text color on #0004E1: #FFFFFF.

Semi-transparent (opacity) text on #0004E1

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 #0004E1: ·

How #0004E1 looks with color blindness

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

Protanopia · #0202ACDeuteranopia · #02019FTritanopia · #008178

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:

Tailwind blue 600 · #2563EBTailwind indigo 600 · #4F46E5Material Indigo 500 · #3F51B5

Palettes with a similar color

These palettes use a close neighbour of #0004E1 rather than the exact color:

Velvet Ruby Harbor
#1667AF · #1610CB · #8C12E1 · #DE12BF
Serene Monsoon
#07281D · #1416FB · #FA1FE0 · #F9D94B
Rustic Drift
#071C12 · #0E1FFC · #FC46A3 · #F99323
Tranquil Summit
#235EE8 · #2314D2 · #7524D7 · #A613C4
Amber Monsoon
#6B6BEB · #4B4BDD · #1D1DCD · #161688
Wild Ruby Monsoon
#827B10 · #E9C74D · #1B26E1 · #BCBDF2

Similar colors

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

#1610CB#1416FB#0E1FFC#2314D2#1D1DCD#1B26E1#1221FD#1323C7#2312FE#1B1BC1#001BB7#1719BC

Browse neighbouring colors

← #0004E0  ·  #0004E2 →

Frequently asked questions

What color is #0004E1?

#0004E1 is Vivid Blue, a blue color (RGB 0, 4, 225). Its closest standard named color is Blue.

What is the RGB and HSL of #0004E1?

#0004E1 is RGB 0, 4, 225 — HSL 239°, 100%, 44% — CMYK 100%, 98%, 0%, 12%.

What colors go with #0004E1?

Its complement is #E0DD00; analogous partners are #0074E0 and #6C00E0. It also appears in 6+ palettes in our collection.

Can I use #0004E1 for text?

White text on #0004E1 has a contrast ratio of 9.98:1 (passes WCAG AA); black text gives 2.10:1.