Color #2f2855
A muted dark blue.
Conversions
#2f2855
rgb(47, 40, 85)
hsl(249.3, 36%, 24.5%)
hsv(249.3, 52.9%, 33.3%)
cmyk(44.7%, 52.9%, 0%, 66.7%)
lab(19.13, 16.03, -26.36)
lch(19.13, 30.85, 301.3)
oklch(30.9%, 0.0786, 288.02)
hwb(249.3, 15.7%, 66.7%)
Harmony colors
Accessibility
White text reads better on this background (13.5:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2c2c4d · ΔE 4
Deuteranopia
#2d2d4b · ΔE 5
Tritanopia
#2f4644 · ΔE 24.8
Achromatopsia
#2e2e2e · ΔE 19.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f2855;
bg-[#2f2855]
Related colors
Frequently asked questions
#2f2855 (#2f2855) is rgb(47, 40, 85) in RGB.
No, #2f2855 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
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 #2f2855, or check how it holds up for accessibility.