Skip to content
Kolorvia
#271aa1

Color #271aa1

A vivid, highly saturated dark blue.

Conversions

HEX
#271aa1
RGB
rgb(39, 26, 161)
HSL
hsl(245.8, 72.2%, 36.7%)
HSV / HSB
hsv(245.8, 83.9%, 63.1%)
CMYK
cmyk(75.8%, 83.9%, 0%, 36.9%)
LAB
lab(22.8, 48.51, -68.83)
LCH
lch(22.8, 84.21, 305.18)
OKLCH
oklch(35.6%, 0.1995, 273.71)
HWB
hwb(245.8, 10.2%, 36.9%)

Harmony colors

Complementary

#94a11a

Analogous

#1a51a1
#271aa1
#6b1aa1

Triadic

#271aa1
#a1271a
#1aa127

Split-complementary

#271aa1
#a16b1a
#51a11a

Tetradic

#271aa1
#a11a94
#94a11a
#1aa127

Square

#271aa1
#a11a51
#94a11a
#1aa16b

Shades

Color #271aa1 mixed toward black.

#211686
#1a116b
#140d51
#0d0936
#07041b

Tints

Color #271aa1 mixed toward white.

#3221cf
#5546e1
#7f74e9
#aaa2f0
#d4d1f8

Tones

Color #271aa1 mixed toward gray.

#302596
#39318b
#423c7f
#4b4774
#555269

Accessibility

Aa White text on this color
12.01:1
Aa Black text on this color
1.75:1

White text reads better on this background (12.01:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#22228f · ΔE 3.3

Deuteranopia

#23248a · ΔE 4.2

Tritanopia

#267d79 · ΔE 40.4

Achromatopsia

#363636 · ΔE 29.1

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #271aa1;
Tailwind (arbitrary value)
bg-[#271aa1]

Related colors

Slate Blue #6a5acd
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Navy #000080
Lavender #e6e6fa
Blue #0000ff

Frequently asked questions

#271aa1 (#271aa1) is rgb(39, 26, 161) in RGB.

No, #271aa1 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #271aa1, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.