Color #2c1e4a
A moderately saturated dark blue.
Conversions
#2c1e4a
rgb(44, 30, 74)
hsl(259.1, 42.3%, 20.4%)
hsv(259.1, 59.5%, 29%)
cmyk(40.5%, 59.5%, 0%, 71%)
lab(15.27, 18.51, -25.09)
lch(15.27, 31.18, 306.42)
oklch(27.7%, 0.0788, 295.49)
hwb(259.1, 11.8%, 71%)
Harmony colors
Accessibility
White text reads better on this background (15.09:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#272642 · ΔE 6.4
Deuteranopia
#272840 · ΔE 8.2
Tritanopia
#2b3b3a · ΔE 23.5
Achromatopsia
#262626 · ΔE 19.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2c1e4a;
bg-[#2c1e4a]
Related colors
Frequently asked questions
#2c1e4a (#2c1e4a) is rgb(44, 30, 74) in RGB.
No, #2c1e4a 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 #2c1e4a, or check how it holds up for accessibility.