Maroon Colors  ·  Color Library

Palettes / Colors / #271ABC

#271ABC — Blue

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

#271ABC 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 #AFBC1A; it also sits naturally between #1A5EBC and #791ABC. In the palettes below you can see it working alongside real color combinations from our collection.

#271ABC · RGB 39, 26, 188

Download PNG swatch SVG

Color values

HEX#271ABC
RGB39, 26, 188
HSL245°, 76%, 42%
HSV245°, 86%, 74%
CMYK79%, 86%, 0%, 26%
XYZ10.28, 4.80, 47.96
Yxy4.80, 0.1631, 0.0762
CIE-Lab26.16, 56.53, -79.48
Hunter Lab21.91, 47.34, -120.08

RGB & CMYK percentages

Red 15% · Green 10% · Blue 74%

Cyan 79% · Magenta 86% · Yellow 0% · Key 26%

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

Previews

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

CSS code for #271ABC

.text { color: #271ABC; }
.background { background-color: #271ABC; }
.border { border: 3px solid #271ABC; }
.text-rgb { color: rgb(39, 26, 188); }
.text-hsl { color: hsl(245, 76%, 42%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #271ABC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(39, 26, 188, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #271ABC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(39, 26, 188, 0.8); }

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

Shades of #271ABC

#2417AB#201599#1D138B#191179#160E67#120C55#0E0943#0B0736#070524#040212

Tints of #271ABC

#2C1DD3#3B2CE2#5043E5#695DE9#7E74EC#938AEF#ACA5F3#C1BCF6#DAD7F9#EEEDFD

Tones of #271ABC

#3125B1#3B31A5#453D99#4E488E#575483#615F77

Color harmonies

Complementary — #AFBC1A:

Analogous:

Triadic:

Contrast & accessibility

Against white text10.71:1 AAA
Against black text1.96:1 Fails

Best text color on #271ABC: #FFFFFF.

Semi-transparent (opacity) text on #271ABC

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 #271ABC: ·

How #271ABC looks with color blindness

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

Protanopia · #212195Deuteranopia · #22238BTritanopia · #26766F

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 #271ABC rather than the exact color:

Royal Solace
#52DCD2 · #186CC0 · #2518BF · #5F1984
Palette 1c0770
#1C0770 · #261CC1 · #3A9AFF · #F1FF5E
Hidden Ruby Monsoon
#2117B8 · #8076EE · #D8E324 · #EAEB96
Burning Ember
#2919B2 · #59108C · #D926CC · #661237
Royal Cascade
#2D13C1 · #6637EB · #BEDB16 · #E7F0A6
Crystal Cinder
#23A971 · #4FC5CC · #316AAC · #2523B7

Similar colors

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

#2518BF#261CC1#2117B8#2919B2#2D13C1#2523B7#1C20BB#1B1BC1#1B1CB4#2828B5#2C24C7#2028BA

Browse neighbouring colors

← #271ABB  ·  #271ABD →

Frequently asked questions

What color is #271ABC?

#271ABC is Blue, a blue color (RGB 39, 26, 188). Its closest standard named color is DarkBlue.

What is the RGB and HSL of #271ABC?

#271ABC is RGB 39, 26, 188 — HSL 245°, 76%, 42% — CMYK 79%, 86%, 0%, 26%.

What colors go with #271ABC?

Its complement is #AFBC1A; analogous partners are #1A5EBC and #791ABC. It also appears in 6+ palettes in our collection.

Can I use #271ABC for text?

White text on #271ABC has a contrast ratio of 10.71:1 (passes WCAG AA); black text gives 1.96:1.