Color #2d1dab
A vivid, highly saturated dark blue.
Conversions
#2d1dab
rgb(45, 29, 171)
hsl(246.8, 71%, 39.2%)
hsv(246.8, 83%, 67.1%)
cmyk(73.7%, 83%, 0%, 32.9%)
lab(24.88, 50.6, -71.43)
lch(24.88, 87.54, 305.31)
oklch(37.5%, 0.2072, 274.79)
hwb(246.8, 11.4%, 32.9%)
Harmony colors
Accessibility
White text reads better on this background (11.2:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#272797 · ΔE 3.7
Deuteranopia
#282992 · ΔE 4.6
Tritanopia
#2c8581 · ΔE 41.5
Achromatopsia
#3b3b3b · ΔE 29.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2d1dab;
bg-[#2d1dab]
Related colors
Frequently asked questions
#2d1dab (#2d1dab) is rgb(45, 29, 171) in RGB.
No, #2d1dab 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 #2d1dab, or check how it holds up for accessibility.