Color #2c1b83
A moderately saturated dark blue.
Conversions
#2c1b83
rgb(44, 27, 131)
hsl(249.8, 65.8%, 31%)
hsv(249.8, 79.4%, 51.4%)
cmyk(66.4%, 79.4%, 0%, 48.6%)
lab(19.87, 39.07, -55.06)
lch(19.87, 67.51, 305.36)
oklch(32.7%, 0.1614, 280.06)
hwb(249.8, 10.6%, 48.6%)
Harmony colors
Accessibility
White text reads better on this background (13.19:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#262574 · ΔE 4.3
Deuteranopia
#272870 · ΔE 5.7
Tritanopia
#2b6663 · ΔE 34.4
Achromatopsia
#303030 · ΔE 26.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2c1b83;
bg-[#2c1b83]
Related colors
Frequently asked questions
#2c1b83 (#2c1b83) is rgb(44, 27, 131) in RGB.
No, #2c1b83 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 #2c1b83, or check how it holds up for accessibility.