Maroon Colors  ·  Color Library

Palettes / Colors / #02429D

#02429D — Vivid Blue

#02429D is a blue color we call 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 #02429D 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.

#02429D 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 #9C5C02; it also sits naturally between #028F9C and #0F029C. In the palettes below you can see it working alongside real color combinations from our collection.

#02429D · RGB 2, 66, 157

Download PNG swatch SVG

Color values

HEX#02429D
RGB2, 66, 157
HSL215°, 97%, 31%
HSV215°, 99%, 62%
CMYK99%, 58%, 0%, 38%
XYZ8.06, 6.34, 32.70
Yxy6.34, 0.1711, 0.1347
CIE-Lab30.26, 20.25, -54.17
Hunter Lab25.19, 14.61, -63.05

RGB & CMYK percentages

Red 1% · Green 26% · Blue 62%

Cyan 99% · Magenta 58% · Yellow 0% · Key 38%

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

Previews

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

CSS code for #02429D

.text { color: #02429D; }
.background { background-color: #02429D; }
.border { border: 3px solid #02429D; }
.text-rgb { color: rgb(2, 66, 157); }
.text-hsl { color: hsl(215, 97%, 31%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #02429D; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(2, 66, 157, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #02429D; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(2, 66, 157, 0.8); }

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

Shades of #02429D

#023C8D#023883#023174#022B64#01265A#01204B#011A3C#01132D#010F23#000914

Tints of #02429D

#0351BF#035EDD#096EFB#2780FC#4A94FC#68A6FD#8BBBFD#AACDFE#CDE1FE#EBF3FF

Tones of #02429D

#0D4491#194686#24487B#2E4A70#394B65#444D5A

Color harmonies

Complementary — #9C5C02:

Analogous:

Triadic:

Contrast & accessibility

Against white text9.26:1 AAA
Against black text2.27:1 Fails

Best text color on #02429D: #FFFFFF.

Semi-transparent (opacity) text on #02429D

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 #02429D: ·

How #02429D looks with color blindness

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

Protanopia · #1E1E87Deuteranopia · #1A1582Tritanopia · #057672

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 sky 600 · #0284C7Tailwind cyan 600 · #0891B2

Palettes with a similar color

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

Palette 001a6e
#001A6E · #074799 · #009990 · #E1FFBB
Palette E3f2fd
#E3F2FD · #90CAF9 · #2196F3 · #0D47A1
Hidden Saffron
#0F429E · #55B1EF · #E9A11E · #EDDB92
Tender Ruby Aurora
#126468 · #0E3DA1 · #50CEEE · #B0CBEE
Palette 1e0342
#1E0342 · #0E46A3 · #9AC8CD · #E1F7F5
Palette 10439f
#10439F · #874CCC · #C65BCF · #F27BBD

Similar colors

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

#074799#0D47A1#0F429E#0E3DA1#0E46A3#10439F#103D9D#0D389E#05339C#103A9F#024CAA#0C359E

Browse neighbouring colors

← #02429C  ·  #02429E →

Frequently asked questions

What color is #02429D?

#02429D is Vivid Blue, a blue color (RGB 2, 66, 157). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #02429D?

#02429D is RGB 2, 66, 157 — HSL 215°, 97%, 31% — CMYK 99%, 58%, 0%, 38%.

What colors go with #02429D?

Its complement is #9C5C02; analogous partners are #028F9C and #0F029C. It also appears in 6+ palettes in our collection.

Can I use #02429D for text?

White text on #02429D has a contrast ratio of 9.26:1 (passes WCAG AA); black text gives 2.27:1.