Maroon Colors  ·  Color Library

Palettes / Colors / #031AAA

#031AAA — Vivid Blue

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

#031AAA 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 #AB9403; it also sits naturally between #036DAB and #4003AB. In the palettes below you can see it working alongside real color combinations from our collection.

#031AAA · RGB 3, 26, 170

Download PNG swatch SVG

Color values

HEX#031AAA
RGB3, 26, 170
HSL232°, 97%, 34%
HSV232°, 98%, 67%
CMYK98%, 85%, 0%, 33%
XYZ7.66, 3.66, 38.33
Yxy3.66, 0.1543, 0.0737
CIE-Lab22.52, 49.98, -74.82
Hunter Lab19.13, 39.65, -110.53

RGB & CMYK percentages

Red 1% · Green 10% · Blue 67%

Cyan 98% · Magenta 85% · Yellow 0% · Key 33%

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

Previews

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

CSS code for #031AAA

.text { color: #031AAA; }
.background { background-color: #031AAA; }
.border { border: 3px solid #031AAA; }
.text-rgb { color: rgb(3, 26, 170); }
.text-hsl { color: hsl(232, 97%, 34%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #031AAA; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(3, 26, 170, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #031AAA; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(3, 26, 170, 0.8); }

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

Shades of #031AAA

#02179C#02158D#02127E#02106F#010E5F#010C50#010A41#010732#010523#000314

Tints of #031AAA

#031DC9#0422E7#1332FB#314CFC#4F66FC#6D80FD#8B9BFD#AFB9FE#CDD3FE#EBEEFF

Tones of #031AAA

#0F229F#1B2B93#273486#323C7B#3E456F#4B4E63

Color harmonies

Complementary — #AB9403:

Analogous:

Triadic:

Contrast & accessibility

Against white text12.12:1 AAA
Against black text1.73:1 Fails

Best text color on #031AAA: #FFFFFF.

Semi-transparent (opacity) text on #031AAA

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 #031AAA: ·

How #031AAA looks with color blindness

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

Protanopia · #0D0D87Deuteranopia · #0C0A7FTritanopia · #046C66

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 blue 600 · #2563EBTailwind indigo 600 · #4F46E5

Palettes with a similar color

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

Palette 001bb7
#001BB7 · #0046FF · #FF8040 · #F5F1DC
Palette 001bb7
#001BB7 · #0046FF · #FF8040 · #E9E9E9
Silent Drift
#11AE94 · #1984C0 · #0B1B9F · #4B109E
Serene Aurora
#2EA0E7 · #1116A9 · #851FDA · #E72BCE
Royal Ruby Voyage
#0E11B0 · #402DEE · #EDEA27 · #EFE692
Palette 0e21a0
#0E21A0 · #4D2FB2 · #B153D7 · #F375C2

Similar colors

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

#001BB7#0B1B9F#1116A9#0E11B0#0E21A0#111FA2#0F25B4#050C9C#1311A2#1A1CAE#0B2F9F#1B1DB2

Browse neighbouring colors

← #031AA9  ·  #031AAB →

Frequently asked questions

What color is #031AAA?

#031AAA is Vivid Blue, a blue color (RGB 3, 26, 170). Its closest standard named color is DarkBlue.

What is the RGB and HSL of #031AAA?

#031AAA is RGB 3, 26, 170 — HSL 232°, 97%, 34% — CMYK 98%, 85%, 0%, 33%.

What colors go with #031AAA?

Its complement is #AB9403; analogous partners are #036DAB and #4003AB. It also appears in 6+ palettes in our collection.

Can I use #031AAA for text?

White text on #031AAA has a contrast ratio of 12.12:1 (passes WCAG AA); black text gives 1.73:1.