Maroon Colors  ·  Color Library

Palettes / Colors / #040468

#040468 — Deep Vivid Blue

#040468 is a blue color we call Deep Vivid Blue, closest to the named color Navy (#000080). It belongs to the blue family.

Color name

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

#040468 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 #676704; it also sits naturally between #043667 and #360467. In the palettes below you can see it working alongside real color combinations from our collection.

#040468 · RGB 4, 4, 104

Download PNG swatch SVG

Color values

HEX#040468
RGB4, 4, 104
HSL240°, 93%, 21%
HSV240°, 96%, 41%
CMYK96%, 96%, 0%, 59%
XYZ2.59, 1.11, 13.17
Yxy1.11, 0.1536, 0.0659
CIE-Lab9.89, 38.90, -54.28
Hunter Lab10.55, 26.40, -69.85

RGB & CMYK percentages

Red 2% · Green 2% · Blue 41%

Cyan 96% · Magenta 96% · Yellow 0% · Key 59%

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

Previews

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

CSS code for #040468

.text { color: #040468; }
.background { background-color: #040468; }
.border { border: 3px solid #040468; }
.text-rgb { color: rgb(4, 4, 104); }
.text-hsl { color: hsl(240, 93%, 21%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #040468; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(4, 4, 104, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #040468; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(4, 4, 104, 0.8); }

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

Shades of #040468

#03035E#030359#03034F#020245#020240#020236#02022C#010122#01011E#010114

Tints of #040468

#05058F#0606B1#0808D9#0E0EF6#3535F8#5858F9#7F7FFA#A1A1FC#C9C9FD#EBEBFE

Tones of #040468

#0B0B60#121259#191952#20204B#272744#2F2F3D

Color harmonies

Complementary — #676704:

Analogous:

Triadic:

Contrast & accessibility

Against white text17.18:1 AAA
Against black text1.22:1 Fails

Best text color on #040468: #FFFFFF.

Semi-transparent (opacity) text on #040468

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 #040468: ·

How #040468 looks with color blindness

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

Protanopia · #040450Deuteranopia · #04044ATritanopia · #043D39

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

Palettes with a similar color

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

Ruby Ember
#030164 · #363199 · #2D7495 · #E8E085
Palette 0c056d
#0C056D · #590D82 · #B61AAE · #F25D9C
Palette Bf1a1a
#BF1A1A · #FF6C0C · #FFE08F · #060771
Ocean Cold
#03045E · #0077B6 · #00B4D8 · #CAF0F8
Palette 0d0b61
#0D0B61 · #294669 · #478B8D · #E4D329
Palette 010059
#010059 · #107595 · #FDBFB3 · #FCF594

Similar colors

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

#030164#0C056D#060771#03045E#0D0B61#010059#0D1164#000B58#080957#000957#0B0B7A#180161

Browse neighbouring colors

← #040467  ·  #040469 →

Frequently asked questions

What color is #040468?

#040468 is Deep Vivid Blue, a blue color (RGB 4, 4, 104). Its closest standard named color is Navy.

What is the RGB and HSL of #040468?

#040468 is RGB 4, 4, 104 — HSL 240°, 93%, 21% — CMYK 96%, 96%, 0%, 59%.

What colors go with #040468?

Its complement is #676704; analogous partners are #043667 and #360467. It also appears in 6+ palettes in our collection.

Can I use #040468 for text?

White text on #040468 has a contrast ratio of 17.18:1 (passes WCAG AA); black text gives 1.22:1.