Skip to content
Kolorvia
#271d40

Color #271d40

A muted very dark blue.

Conversions

HEX
#271d40
RGB
rgb(39, 29, 64)
HSL
hsl(257.1, 37.6%, 18.2%)
HSV / HSB
hsv(257.1, 54.7%, 25.1%)
CMYK
cmyk(39.1%, 54.7%, 0%, 74.9%)
LAB
lab(13.71, 14.46, -20.67)
LCH
lch(13.71, 25.23, 304.98)
OKLCH
oklch(26.2%, 0.0642, 294.77)
HWB
hwb(257.1, 11.4%, 74.9%)

Harmony colors

Complementary

#36401d

Analogous

#1d2440
#271d40
#381d40

Triadic

#271d40
#40271d
#1d4027

Split-complementary

#271d40
#40381d
#24401d

Tetradic

#271d40
#401d36
#36401d
#1d4027

Square

#271d40
#401d24
#36401d
#1d4038

Shades

Color #271d40 mixed toward black.

#201835
#1a132b
#130e20
#0d0a15
#06050b

Tints

Color #271d40 mixed toward white.

#443370
#6148a0
#866fbe
#ae9fd4
#d7cfe9

Tones

Color #271d40 mixed toward gray.

#28203d
#29233a
#2b2637
#2c2934
#2d2c31

Accessibility

Aa White text on this color
15.72:1
Aa Black text on this color
1.34:1

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

Under color vision deficiencies

Protanopia

#23233a · ΔE 6

Deuteranopia

#242438 · ΔE 7.3

Tritanopia

#273433 · ΔE 22

Achromatopsia

#232323 · ΔE 17.7

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

Code

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

Related colors

Medium Purple #9370db
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Rebecca Purple #663399
Blue Violet #8a2be2

Frequently asked questions

#271d40 (#271d40) is rgb(39, 29, 64) in RGB.

No, #271d40 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #271d40, 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.