Color #2d1e4c
A moderately saturated dark blue.
Conversions
#2d1e4c
rgb(45, 30, 76)
hsl(259.6, 43.4%, 20.8%)
hsv(259.6, 60.5%, 29.8%)
cmyk(40.8%, 60.5%, 0%, 70.2%)
lab(15.53, 19.44, -26.04)
lch(15.53, 32.5, 306.74)
oklch(28%, 0.0819, 295.69)
hwb(259.6, 11.8%, 70.2%)
Harmony colors
Accessibility
White text reads better on this background (14.98:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#272744 · ΔE 6.7
Deuteranopia
#282942 · ΔE 8.4
Tritanopia
#2c3d3b · ΔE 24.4
Achromatopsia
#272727 · ΔE 20.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2d1e4c;
bg-[#2d1e4c]
Related colors
Frequently asked questions
#2d1e4c (#2d1e4c) is rgb(45, 30, 76) in RGB.
No, #2d1e4c 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 #2d1e4c, or check how it holds up for accessibility.