Maroon Colors  ·  Color Library

Palettes / Colors / #03104F

#03104F — Deep Vivid Blue

#03104F 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 #03104F 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.

#03104F 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 #4F4203; it also sits naturally between #03354F and #1C034F. In the palettes below you can see it working alongside real color combinations from our collection.

#03104F · RGB 3, 16, 79

Download PNG swatch SVG

Color values

HEX#03104F
RGB3, 16, 79
HSL230°, 93%, 16%
HSV230°, 96%, 31%
CMYK96%, 80%, 0%, 69%
XYZ1.63, 0.95, 7.50
Yxy0.95, 0.1621, 0.0947
CIE-Lab8.61, 22.99, -39.54
Hunter Lab9.77, 13.49, -40.69

RGB & CMYK percentages

Red 1% · Green 6% · Blue 31%

Cyan 96% · Magenta 80% · Yellow 0% · Key 69%

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

Previews

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

CSS code for #03104F

.text { color: #03104F; }
.background { background-color: #03104F; }
.border { border: 3px solid #03104F; }
.text-rgb { color: rgb(3, 16, 79); }
.text-hsl { color: hsl(230, 93%, 16%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #03104F; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(3, 16, 79, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #03104F; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(3, 16, 79, 0.8); }

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

Shades of #03104F

#030F4A#020E45#020C3B#020B36#020A31#02092C#010827#01061E#010519#010414

Tints of #03104F

#041776#061F9D#0727C5#092FEC#2649F7#4E6AF9#758BFA#9DACFB#C4CDFD#EBEEFE

Tones of #03104F

#081349#0E1744#131A3E#181E39#1E2134#23252E

Color harmonies

Complementary — #4F4203:

Analogous:

Triadic:

Contrast & accessibility

Against white text17.63:1 AAA
Against black text1.19:1 Fails

Best text color on #03104F: #FFFFFF.

Semi-transparent (opacity) text on #03104F

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 #03104F: ·

How #03104F looks with color blindness

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

Protanopia · #090940Deuteranopia · #08073CTritanopia · #043431

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 #03104F rather than the exact color:

Palette 0c134f
#0C134F · #1D267D · #5C469C · #D4ADFC
Palette 091057
#091057 · #024CAA · #EC8305 · #DBD3D3
Palette 071952
#071952 · #0B666A · #35A29F · #97FEED
Palette 071952
#071952 · #088395 · #37B7C3 · #EBF4F6
Palette 071952
#071952 · #088395 · #35A29F · #F2F7A1
Palette 000b58
#000B58 · #003161 · #006A67 · #FDEB9E

Similar colors

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

#0C134F#091057#071952#000B58#000957#071A52#021A54#080957#0B1849#0B1D51#0E0F44#05004E

Browse neighbouring colors

← #03104E  ·  #031050 →

Frequently asked questions

What color is #03104F?

#03104F is Deep Vivid Blue, a blue color (RGB 3, 16, 79). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #03104F?

#03104F is RGB 3, 16, 79 — HSL 230°, 93%, 16% — CMYK 96%, 80%, 0%, 69%.

What colors go with #03104F?

Its complement is #4F4203; analogous partners are #03354F and #1C034F. It also appears in 6+ palettes in our collection.

Can I use #03104F for text?

White text on #03104F has a contrast ratio of 17.63:1 (passes WCAG AA); black text gives 1.19:1.