Color #2f2152
A moderately saturated dark blue.
Conversions
#2f2152
rgb(47, 33, 82)
hsl(257.1, 42.6%, 22.5%)
hsv(257.1, 59.8%, 32.2%)
cmyk(42.7%, 59.8%, 0%, 67.8%)
lab(16.99, 19.88, -27.76)
lch(16.99, 34.14, 305.61)
oklch(29.3%, 0.086, 293.58)
hwb(257.1, 12.9%, 67.8%)
Harmony colors
Accessibility
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
background-color: #2f2152;
bg-[#2f2152]
Related colors
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
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #2f2152, or check how it holds up for accessibility.