Color #2c2156
A moderately saturated dark blue.
Conversions
#2c2156
rgb(44, 33, 86)
hsl(252.5, 44.5%, 23.3%)
hsv(252.5, 61.6%, 33.7%)
cmyk(48.8%, 61.6%, 0%, 66.3%)
lab(16.96, 20.39, -30.52)
lch(16.96, 36.7, 303.75)
oklch(29.3%, 0.092, 288.97)
hwb(252.5, 12.9%, 66.3%)
Harmony colors
Accessibility
White text reads better on this background (14.39:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#28284d · ΔE 4.9
Deuteranopia
#28294b · ΔE 5.9
Tritanopia
#2c4543 · ΔE 25.6
Achromatopsia
#2a2a2a · ΔE 21.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2c2156;
bg-[#2c2156]
Related colors
Frequently asked questions
#2c2156 (#2c2156) is rgb(44, 33, 86) in RGB.
No, #2c2156 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 #2c2156, or check how it holds up for accessibility.