Color #291c4a
A moderately saturated dark blue.
Conversions
#291c4a
rgb(41, 28, 74)
hsl(257, 45.1%, 20%)
hsv(257, 62.2%, 29%)
cmyk(44.6%, 62.2%, 0%, 71%)
lab(14.38, 19.04, -26.54)
lch(14.38, 32.66, 305.66)
oklch(27%, 0.082, 293.13)
hwb(257, 11%, 71%)
Harmony colors
Accessibility
White text reads better on this background (15.45:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#242442 · ΔE 6.1
Deuteranopia
#252640 · ΔE 7.7
Tritanopia
#283b39 · ΔE 24.7
Achromatopsia
#242424 · ΔE 20.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #291c4a;
bg-[#291c4a]
Related colors
Frequently asked questions
#291c4a (#291c4a) is rgb(41, 28, 74) in RGB.
No, #291c4a 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 #291c4a, or check how it holds up for accessibility.