Skip to content
Kolorvia
#2f2152

Color #2f2152

A moderately saturated dark blue.

Conversions

HEX
#2f2152
RGB
rgb(47, 33, 82)
HSL
hsl(257.1, 42.6%, 22.5%)
HSV / HSB
hsv(257.1, 59.8%, 32.2%)
CMYK
cmyk(42.7%, 59.8%, 0%, 67.8%)
LAB
lab(16.99, 19.88, -27.76)
LCH
lch(16.99, 34.14, 305.61)
OKLCH
oklch(29.3%, 0.086, 293.58)
HWB
hwb(257.1, 12.9%, 67.8%)

Harmony colors

Complementary

#445221

Analogous

#212b52
#2f2152
#472152

Triadic

#2f2152
#522f21
#21522f

Split-complementary

#2f2152
#524721
#2b5221

Tetradic

#2f2152
#522144
#445221
#21522f

Square

#2f2152
#52212b
#445221
#215247

Shades

Color #2f2152 mixed toward black.

#271b44
#1f1637
#171029
#100b1b
#08050e

Tints

Color #2f2152 mixed toward white.

#4a3481
#6547b0
#8a72c6
#b1a1d9
#d8d0ec

Tones

Color #2f2152 mixed toward gray.

#31254e
#32294a
#342d46
#363142
#38353d

Accessibility

Aa White text on this color
14.38:1
Aa Black text on this color
1.46:1

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

Under color vision deficiencies

Protanopia

#2a294a · ΔE 5.7

Deuteranopia

#2a2b47 · ΔE 7.6

Tritanopia

#2e4240 · ΔE 24.9

Achromatopsia

#2a2a2a · ΔE 20.8

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

Code

CSS
background-color: #2f2152;
Tailwind (arbitrary value)
bg-[#2f2152]

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

#2f2152 (#2f2152) is rgb(47, 33, 82) in RGB.

No, #2f2152 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 #2f2152, 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.