Color #2b1e4e
A moderately saturated dark blue.
Conversions
#2b1e4e
rgb(43, 30, 78)
hsl(256.3, 44.4%, 21.2%)
hsv(256.3, 61.5%, 30.6%)
cmyk(44.9%, 61.5%, 0%, 69.4%)
lab(15.45, 19.53, -27.55)
lch(15.45, 33.77, 305.33)
oklch(27.9%, 0.0848, 292.54)
hwb(256.3, 11.8%, 69.4%)
Harmony colors
Accessibility
White text reads better on this background (15.02:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#262646 · ΔE 5.8
Deuteranopia
#272844 · ΔE 7.3
Tritanopia
#2a3e3d · ΔE 24.2
Achromatopsia
#272727 · ΔE 20.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2b1e4e;
bg-[#2b1e4e]
Related colors
Frequently asked questions
#2b1e4e (#2b1e4e) is rgb(43, 30, 78) in RGB.
No, #2b1e4e 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 #2b1e4e, or check how it holds up for accessibility.