Color #2b1e4c
A moderately saturated dark blue.
Conversions
#2b1e4c
rgb(43, 30, 76)
hsl(257, 43.4%, 20.8%)
hsv(257, 60.5%, 29.8%)
cmyk(43.4%, 60.5%, 0%, 70.2%)
lab(15.3, 18.87, -26.43)
lch(15.3, 32.47, 305.53)
oklch(27.8%, 0.0817, 293.36)
hwb(257, 11.8%, 70.2%)
Harmony colors
Accessibility
White text reads better on this background (15.08:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#262644 · ΔE 6.1
Deuteranopia
#272842 · ΔE 7.7
Tritanopia
#2a3d3b · ΔE 24.6
Achromatopsia
#262626 · ΔE 20.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2b1e4c;
bg-[#2b1e4c]
Related colors
Frequently asked questions
#2b1e4c (#2b1e4c) is rgb(43, 30, 76) in RGB.
No, #2b1e4c 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 #2b1e4c, or check how it holds up for accessibility.