Color #2b1c4b
A moderately saturated dark blue.
Conversions
#2b1c4b
rgb(43, 28, 75)
hsl(259.1, 45.6%, 20.2%)
hsv(259.1, 62.7%, 29.4%)
cmyk(42.7%, 62.7%, 0%, 70.6%)
lab(14.69, 19.92, -26.71)
lch(14.69, 33.32, 306.72)
oklch(27.3%, 0.0837, 294.94)
hwb(259.1, 11%, 70.6%)
Harmony colors
Accessibility
White text reads better on this background (15.32:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252543 · ΔE 6.6
Deuteranopia
#262741 · ΔE 8.1
Tritanopia
#2a3c3a · ΔE 24.6
Achromatopsia
#252525 · ΔE 20.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2b1c4b;
bg-[#2b1c4b]
Related colors
Frequently asked questions
#2b1c4b (#2b1c4b) is rgb(43, 28, 75) in RGB.
No, #2b1c4b 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 #2b1c4b, or check how it holds up for accessibility.