Color #2b2740
A muted dark blue.
Conversions
#2b2740
rgb(43, 39, 64)
hsl(249.6, 24.3%, 20.2%)
hsv(249.6, 39.1%, 25.1%)
cmyk(32.8%, 39.1%, 0%, 74.9%)
lab(17.15, 8.65, -15.22)
lch(17.15, 17.51, 299.61)
oklch(28.9%, 0.0452, 290.6)
hwb(249.6, 15.3%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (14.32:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#29293b · ΔE 3.9
Deuteranopia
#2a2a3a · ΔE 4.8
Tritanopia
#2b3736 · ΔE 18.4
Achromatopsia
#2a2a2a · ΔE 13.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2b2740;
bg-[#2b2740]
Related colors
Frequently asked questions
#2b2740 (#2b2740) is rgb(43, 39, 64) in RGB.
No, #2b2740 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 #2b2740, or check how it holds up for accessibility.