Maroon Colors  ·  Color Library

Palettes / Colors / #030787

#030787 — Deep Vivid Blue

#030787 is a blue color we call Deep Vivid Blue, closest to the named color DarkBlue (#00008B). It belongs to the blue family.

Color name

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

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

#030787 · RGB 3, 7, 135

Download PNG swatch SVG

Color values

HEX#030787
RGB3, 7, 135
HSL238°, 96%, 27%
HSV238°, 98%, 53%
CMYK98%, 95%, 0%, 47%
XYZ4.49, 1.92, 23.06
Yxy1.92, 0.1523, 0.0652
CIE-Lab15.06, 46.80, -65.65
Hunter Lab13.86, 34.82, -93.14

RGB & CMYK percentages

Red 1% · Green 3% · Blue 53%

Cyan 98% · Magenta 95% · Yellow 0% · Key 47%

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

Previews

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

CSS code for #030787

.text { color: #030787; }
.background { background-color: #030787; }
.border { border: 3px solid #030787; }
.text-rgb { color: rgb(3, 7, 135); }
.text-hsl { color: hsl(238, 96%, 27%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #030787; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(3, 7, 135, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #030787; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(3, 7, 135, 0.8); }

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

Shades of #030787

#03077D#02066E#020564#02055A#020450#010341#010337#01022D#01021E#000114

Tints of #030787

#0309AA#040BCD#050DF0#1E25FA#4147FB#5F64FC#8286FC#A5A8FD#C8CAFE#EBECFF

Tones of #030787

#0C107D#151974#1F226B#292B61#323357#3B3C4E

Color harmonies

Complementary — #878303:

Analogous:

Triadic:

Contrast & accessibility

Against white text15.17:1 AAA
Against black text1.38:1 Fails

Best text color on #030787: #FFFFFF.

Semi-transparent (opacity) text on #030787

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

How #030787 looks with color blindness

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

Protanopia · #050568Deuteranopia · #050461Tritanopia · #03504A

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 · #212529Material Indigo 500 · #3F51B5Tailwind slate 600 · #475569

Palettes with a similar color

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

Palette 00028c
#00028C · #21AA93 · #01676B · #FFC3E7
Palette 000080
#000080 · #FF0000 · #9E2A3A · #3A2525
Modern Orchard
#18438A · #0B0B7A · #360C7B · #8A14B0
Smoky Ruby Drift
#0E376C · #10128E · #782FE0 · #C72CE6
Palette 04009a
#04009A · #77ACF1 · #3EDBF0 · #C0FEFC
Palette 121481
#121481 · #FFEAE3 · #FFCBCB · #FFB1B1

Similar colors

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

#00028C#000080#0B0B7A#10128E#04009A#121481#111783#050C9C#060771#120078#190482#161688

Browse neighbouring colors

← #030786  ·  #030788 →

Frequently asked questions

What color is #030787?

#030787 is Deep Vivid Blue, a blue color (RGB 3, 7, 135). Its closest standard named color is DarkBlue.

What is the RGB and HSL of #030787?

#030787 is RGB 3, 7, 135 — HSL 238°, 96%, 27% — CMYK 98%, 95%, 0%, 47%.

What colors go with #030787?

Its complement is #878303; analogous partners are #034987 and #400387. It also appears in 6+ palettes in our collection.

Can I use #030787 for text?

White text on #030787 has a contrast ratio of 15.17:1 (passes WCAG AA); black text gives 1.38:1.