Color #2b2a40
A muted dark blue.
Conversions
#2b2a40
rgb(43, 42, 64)
hsl(242.7, 20.8%, 20.8%)
hsv(242.7, 34.4%, 25.1%)
cmyk(32.8%, 34.4%, 0%, 74.9%)
lab(18.1, 6.52, -13.75)
lch(18.1, 15.22, 295.37)
oklch(29.6%, 0.0396, 285.83)
hwb(242.7, 16.5%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (13.93:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2b3c · ΔE 2.5
Deuteranopia
#2b2b3a · ΔE 3.4
Tritanopia
#2b3837 · ΔE 16.9
Achromatopsia
#2c2c2c · ΔE 12.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2b2a40;
bg-[#2b2a40]
Related colors
Frequently asked questions
#2b2a40 (#2b2a40) is rgb(43, 42, 64) in RGB.
No, #2b2a40 is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #2b2a40, or check how it holds up for accessibility.