Skip to content
Kolorvia
#271cd2

Color #271cd2

A vivid, highly saturated medium blue.

Conversions

HEX
#271cd2
RGB
rgb(39, 28, 210)
HSL
hsl(243.6, 76.5%, 46.7%)
HSV / HSB
hsv(243.6, 86.7%, 82.4%)
CMYK
cmyk(81.4%, 86.7%, 0%, 17.6%)
LAB
lab(29.19, 62.03, -87.34)
LCH
lch(29.19, 107.13, 305.38)
OKLCH
oklch(41.7%, 0.2526, 270)
HWB
hwb(243.6, 11%, 17.6%)

Harmony colors

Complementary

#c7d21c

Analogous

#1c6cd2
#271cd2
#821cd2

Triadic

#271cd2
#d2271c
#1cd227

Split-complementary

#271cd2
#d2821c
#6cd21c

Tetradic

#271cd2
#d21cc7
#c7d21c
#1cd227

Square

#271cd2
#d21c6c
#c7d21c
#1cd282

Shades

Color #271cd2 mixed toward black.

#2017af
#1a138c
#130e69
#0d0946
#060523

Tints

Color #271cd2 mixed toward white.

#4137e4
#675fea
#8d87ef
#b3aff4
#d9d7fa

Tones

Color #271cd2 mixed toward gray.

#342bc3
#423ab4
#4f4aa5
#5c5995
#6a6886

Accessibility

Aa White text on this color
9.62:1
Aa Black text on this color
2.18:1

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

Under color vision deficiencies

Protanopia

#2323ba · ΔE 3.1

Deuteranopia

#2324b4 · ΔE 3.9

Tritanopia

#27a49e · ΔE 49.4

Achromatopsia

#454545 · ΔE 31.4

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

Code

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

Related colors

Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b
Ghost White #f8f8ff
Medium Blue #0000cd

Frequently asked questions

#271cd2 (#271cd2) is rgb(39, 28, 210) in RGB.

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