Color #2d3040
A muted dark blue.
Conversions
#2d3040
rgb(45, 48, 64)
hsl(230.5, 17.4%, 21.4%)
hsv(230.5, 29.7%, 25.1%)
cmyk(29.7%, 25%, 0%, 74.9%)
lab(20.21, 3.05, -10.48)
lch(20.21, 10.91, 286.23)
oklch(31.3%, 0.029, 276.34)
hwb(230.5, 17.6%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (13.06:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2e2e3d · ΔE 1.6
Deuteranopia
#2e2e3c · ΔE 1.7
Tritanopia
#2d3a39 · ΔE 13
Achromatopsia
#313131 · ΔE 9.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2d3040;
bg-[#2d3040]
Related colors
Frequently asked questions
#2d3040 (#2d3040) is rgb(45, 48, 64) in RGB.
No, #2d3040 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 #2d3040, or check how it holds up for accessibility.