Color #2f2547
A muted dark blue.
Conversions
#2f2547
rgb(47, 37, 71)
hsl(257.6, 31.5%, 21.2%)
hsv(257.6, 47.9%, 27.8%)
cmyk(33.8%, 47.9%, 0%, 72.2%)
lab(17.38, 13.63, -19.66)
lch(17.38, 23.92, 304.73)
oklch(29.3%, 0.0613, 295.94)
hwb(257.6, 14.5%, 72.2%)
Harmony colors
Accessibility
White text reads better on this background (14.22:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2b41 · ΔE 6.2
Deuteranopia
#2c2c3f · ΔE 7.4
Tritanopia
#2f3b3a · ΔE 21.4
Achromatopsia
#2b2b2b · ΔE 17.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f2547;
bg-[#2f2547]
Related colors
Frequently asked questions
#2f2547 (#2f2547) is rgb(47, 37, 71) in RGB.
No, #2f2547 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 #2f2547, or check how it holds up for accessibility.