Color #2d1d63
A moderately saturated dark blue.
Conversions
#2d1d63
rgb(45, 29, 99)
hsl(253.7, 54.7%, 25.1%)
hsv(253.7, 70.7%, 38.8%)
cmyk(54.5%, 70.7%, 0%, 61.2%)
lab(17.17, 27.61, -38.85)
lch(17.17, 47.66, 305.4)
oklch(29.8%, 0.117, 287.57)
hwb(253.7, 11.4%, 61.2%)
Harmony colors
Accessibility
White text reads better on this background (14.31:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#272758 · ΔE 5.4
Deuteranopia
#282955 · ΔE 6.6
Tritanopia
#2c4e4c · ΔE 27.7
Achromatopsia
#2a2a2a · ΔE 23.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2d1d63;
bg-[#2d1d63]
Related colors
Frequently asked questions
#2d1d63 (#2d1d63) is rgb(45, 29, 99) in RGB.
No, #2d1d63 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 #2d1d63, or check how it holds up for accessibility.