Color #2b1d58
A moderately saturated dark blue.
Conversions
#2b1d58
rgb(43, 29, 88)
hsl(254.2, 50.4%, 22.9%)
hsv(254.2, 67%, 34.5%)
cmyk(51.1%, 67%, 0%, 65.5%)
lab(15.99, 23.52, -33.45)
lch(15.99, 40.89, 305.11)
oklch(28.6%, 0.1014, 289.29)
hwb(254.2, 11.4%, 65.5%)
Harmony colors
Accessibility
White text reads better on this background (14.8:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#26254e · ΔE 5.2
Deuteranopia
#26274c · ΔE 6.4
Tritanopia
#2a4644 · ΔE 26.3
Achromatopsia
#282828 · ΔE 22.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2b1d58;
bg-[#2b1d58]
Related colors
Frequently asked questions
#2b1d58 (#2b1d58) is rgb(43, 29, 88) in RGB.
No, #2b1d58 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 #2b1d58, or check how it holds up for accessibility.