Color #2a1c49
A moderately saturated very dark blue.
Conversions
#2a1c49
rgb(42, 28, 73)
hsl(258.7, 44.6%, 19.8%)
hsv(258.7, 61.6%, 28.6%)
cmyk(42.5%, 61.6%, 0%, 71.4%)
lab(14.42, 18.99, -25.77)
lch(14.42, 32.01, 306.39)
oklch(27%, 0.0805, 294.75)
hwb(258.7, 11%, 71.4%)
Harmony colors
Accessibility
White text reads better on this background (15.43:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252441 · ΔE 6.2
Deuteranopia
#25263f · ΔE 8
Tritanopia
#293a39 · ΔE 23.7
Achromatopsia
#242424 · ΔE 20.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a1c49;
bg-[#2a1c49]
Related colors
Frequently asked questions
#2a1c49 (#2a1c49) is rgb(42, 28, 73) in RGB.
No, #2a1c49 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 #2a1c49, or check how it holds up for accessibility.