Color #2d1c8f
A moderately saturated dark blue.
Conversions
#2d1c8f
rgb(45, 28, 143)
hsl(248.9, 67.3%, 33.5%)
hsv(248.9, 80.4%, 56.1%)
cmyk(68.5%, 80.4%, 0%, 43.9%)
lab(21.47, 42.46, -59.93)
lch(21.47, 73.45, 305.32)
oklch(34.2%, 0.175, 278.44)
hwb(248.9, 11%, 43.9%)
Harmony colors
Accessibility
White text reads better on this background (12.54:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#27267f · ΔE 4
Deuteranopia
#28297a · ΔE 5.4
Tritanopia
#2c706c · ΔE 36.9
Achromatopsia
#333333 · ΔE 27.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2d1c8f;
bg-[#2d1c8f]
Related colors
Frequently asked questions
#2d1c8f (#2d1c8f) is rgb(45, 28, 143) in RGB.
No, #2d1c8f 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 #2d1c8f, or check how it holds up for accessibility.