Color #291d4a
A moderately saturated dark blue.
Conversions
#291d4a
rgb(41, 29, 74)
hsl(256, 43.7%, 20.2%)
hsv(256, 60.8%, 29%)
cmyk(44.6%, 60.8%, 0%, 71%)
lab(14.65, 18.34, -26.1)
lch(14.65, 31.9, 305.1)
oklch(27.2%, 0.0802, 292.57)
hwb(256, 11.4%, 71%)
Harmony colors
Accessibility
White text reads better on this background (15.34:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#242442 · ΔE 5.7
Deuteranopia
#252640 · ΔE 7.3
Tritanopia
#283b3a · ΔE 24
Achromatopsia
#252525 · ΔE 20.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #291d4a;
bg-[#291d4a]
Related colors
Frequently asked questions
#291d4a (#291d4a) is rgb(41, 29, 74) in RGB.
No, #291d4a 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 #291d4a, or check how it holds up for accessibility.