Color #2d2542
A muted dark blue.
Conversions
#2d2542
rgb(45, 37, 66)
hsl(256.6, 28.2%, 20.2%)
hsv(256.6, 43.9%, 25.9%)
cmyk(31.8%, 43.9%, 0%, 74.1%)
lab(16.87, 11.4, -17.04)
lch(16.87, 20.5, 303.78)
oklch(28.8%, 0.0527, 295.64)
hwb(256.6, 14.5%, 74.1%)
Harmony colors
Accessibility
White text reads better on this background (14.43:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2a2a3c · ΔE 6.1
Deuteranopia
#2a2b3b · ΔE 7.4
Tritanopia
#2d3836 · ΔE 20.4
Achromatopsia
#2a2a2a · ΔE 15.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2d2542;
bg-[#2d2542]
Related colors
Frequently asked questions
#2d2542 (#2d2542) is rgb(45, 37, 66) in RGB.
No, #2d2542 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 #2d2542, or check how it holds up for accessibility.