Maroon Colors  ·  Color Library

Palettes / Colors / #3140AF

#3140AF — Blue

#3140AF is a blue color we call Blue, closest to the named color DarkSlateBlue (#483D8B). It belongs to the blue family.

Color name

Closest CSS keyword: darkslateblue (#483D8B) — not an exact match. CSS darkslateblue gives you #483D8B, a different color; use #3140AF 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.

#3140AF is a cool blue color associated with trust, calm and professionalism. It sits comfortably in the middle: usable for large areas in soft schemes, or as a supporting color beside something stronger.

Its strongest partner is its complement #AFA031; it also sits naturally between #317FAF and #6231AF. In the palettes below you can see it working alongside real color combinations from our collection.

#3140AF · RGB 49, 64, 175

Download PNG swatch SVG

Color values

HEX#3140AF
RGB49, 64, 175
HSL233°, 56%, 44%
HSV233°, 72%, 69%
CMYK72%, 63%, 0%, 31%
XYZ10.84, 7.41, 41.42
Yxy7.41, 0.1816, 0.1243
CIE-Lab32.73, 32.40, -60.89
Hunter Lab27.23, 25.24, -75.39

RGB & CMYK percentages

Red 19% · Green 25% · Blue 69%

Cyan 72% · Magenta 63% · Yellow 0% · Key 31%

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

Previews

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

CSS code for #3140AF

.text { color: #3140AF; }
.background { background-color: #3140AF; }
.border { border: 3px solid #3140AF; }
.text-rgb { color: rgb(49, 64, 175); }
.text-hsl { color: hsl(233, 56%, 44%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #3140AF; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(49, 64, 175, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #3140AF; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(49, 64, 175, 0.8); }

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

Shades of #3140AF

#2D3A9F#28348F#242F7F#1F296F#1B235F#161D50#121740#0D1130#090C20#040610

Tints of #3140AF

#3747C3#4857CB#606DD2#747FD8#8892DD#9CA4E3#AFB6E9#C7CCEF#DBDEF5#EFF0FB

Tones of #3140AF

#3A47A6#434E9D#4C5594#555C8B#5E6282#676979

Color harmonies

Complementary — #AFA031:

Analogous:

Triadic:

Contrast & accessibility

Against white text8.46:1 AAA
Against black text2.48:1 Fails

Best text color on #3140AF: #FFFFFF.

Semi-transparent (opacity) text on #3140AF

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 #3140AF: ·

How #3140AF looks with color blindness

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

Protanopia · #373894Deuteranopia · #37368ETritanopia · #327F7A

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 · #3F51B5Material Deep Purple 500 · #673AB7Tailwind indigo 600 · #4F46E5

Palettes with a similar color

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

Crystal Zephyr
#303FB4 · #A283CF · #D684DC · #DC8BB7
Hidden Opal
#3746AE · #6C63CE · #B5A539 · #E7E1C4
Ruby Harbor
#2F39A9 · #2E6FA0 · #49A4BB · #15D8B3
Tranquil Ruby Cascade
#4BC6E5 · #2844B1 · #6B21DD · #E229E3
Royal Ruby Saffron
#2A9F3B · #329A79 · #3FB0D1 · #2A48AF
Tender Ruby Bloom
#AD3142 · #49C137 · #3446B8 · #EED7DC

Similar colors

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

#303FB4#3746AE#2F39A9#2844B1#2A48AF#3446B8#2F36B4#3837B3#3340A3#2541B2#3D45AA#344CB7

Browse neighbouring colors

← #3140AE  ·  #3140B0 →

Frequently asked questions

What color is #3140AF?

#3140AF is Blue, a blue color (RGB 49, 64, 175). Its closest standard named color is DarkSlateBlue.

What is the RGB and HSL of #3140AF?

#3140AF is RGB 49, 64, 175 — HSL 233°, 56%, 44% — CMYK 72%, 63%, 0%, 31%.

What colors go with #3140AF?

Its complement is #AFA031; analogous partners are #317FAF and #6231AF. It also appears in 6+ palettes in our collection.

Can I use #3140AF for text?

White text on #3140AF has a contrast ratio of 8.46:1 (passes WCAG AA); black text gives 2.48:1.