Color #2f214f
A moderately saturated dark blue.
Conversions
#2f214f
rgb(47, 33, 79)
hsl(258.3, 41.1%, 22%)
hsv(258.3, 58.2%, 31%)
cmyk(40.5%, 58.2%, 0%, 69%)
lab(16.78, 18.92, -26.07)
lch(16.78, 32.21, 305.97)
oklch(29%, 0.0813, 294.86)
hwb(258.3, 12.9%, 69%)
Harmony colors
Accessibility
White text reads better on this background (14.47:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2a2947 · ΔE 6.1
Deuteranopia
#2a2b45 · ΔE 7.8
Tritanopia
#2e403e · ΔE 24.5
Achromatopsia
#292929 · ΔE 20.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f214f;
bg-[#2f214f]
Related colors
Frequently asked questions
#2f214f (#2f214f) is rgb(47, 33, 79) in RGB.
No, #2f214f 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 #2f214f, or check how it holds up for accessibility.