Skip to content
Kolorvia
#271b46

Color #271b46

A moderately saturated very dark blue.

Conversions

HEX
#271b46
RGB
rgb(39, 27, 70)
HSL
hsl(256.7, 44.3%, 19%)
HSV / HSB
hsv(256.7, 61.4%, 27.5%)
CMYK
cmyk(44.3%, 61.4%, 0%, 72.5%)
LAB
lab(13.58, 17.85, -25.07)
LCH
lch(13.58, 30.78, 305.45)
OKLCH
oklch(26.2%, 0.0775, 293.19)
HWB
hwb(256.7, 10.6%, 72.5%)

Harmony colors

Complementary

#3a461b

Analogous

#1b2546
#271b46
#3c1b46

Triadic

#271b46
#46271b
#1b4627

Split-complementary

#271b46
#463c1b
#25461b

Tetradic

#271b46
#461b3a
#3a461b
#1b4627

Square

#271b46
#461b25
#3a461b
#1b463c

Shades

Color #271b46 mixed toward black.

#20163a
#1a122f
#130d23
#0d0917
#06040c

Tints

Color #271b46 mixed toward white.

#432e78
#5e41a9
#836ac5
#ad9cd9
#d6cdec

Tones

Color #271b46 mixed toward gray.

#291f42
#2a223f
#2c263b
#2d2938
#2f2d34

Accessibility

Aa White text on this color
15.77:1
Aa Black text on this color
1.33:1

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

Under color vision deficiencies

Protanopia

#22223f · ΔE 5.7

Deuteranopia

#23243d · ΔE 7.4

Tritanopia

#263836 · ΔE 24.4

Achromatopsia

#232323 · ΔE 19.7

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

Code

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

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

#271b46 (#271b46) is rgb(39, 27, 70) in RGB.

No, #271b46 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 #271b46, 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.