Color #291f6c
A moderately saturated dark blue.
Conversions
#291f6c
rgb(41, 31, 108)
hsl(247.8, 55.4%, 27.3%)
hsv(247.8, 71.3%, 42.4%)
cmyk(62%, 71.3%, 0%, 57.6%)
lab(18.07, 28.65, -43.29)
lch(18.07, 51.91, 303.5)
oklch(30.6%, 0.1272, 281.7)
hwb(247.8, 12.2%, 57.6%)
Harmony colors
Accessibility
White text reads better on this background (13.94:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252560 · ΔE 3.8
Deuteranopia
#26265d · ΔE 4.7
Tritanopia
#295552 · ΔE 30
Achromatopsia
#2c2c2c · ΔE 24.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #291f6c;
bg-[#291f6c]
Related colors
Frequently asked questions
#291f6c (#291f6c) is rgb(41, 31, 108) in RGB.
No, #291f6c is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #291f6c, or check how it holds up for accessibility.