Color #2a2d38
A nearly neutral, gray-leaning very dark blue.
Conversions
#2a2d38
rgb(42, 45, 56)
hsl(227.1, 14.3%, 19.2%)
hsv(227.1, 25%, 22%)
cmyk(25%, 19.6%, 0%, 78%)
lab(18.6, 1.63, -7.46)
lch(18.6, 7.64, 282.33)
oklch(29.9%, 0.0204, 273.09)
hwb(227.1, 16.5%, 78%)
Harmony colors
Accessibility
White text reads better on this background (13.72:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2b36 · ΔE 1.8
Deuteranopia
#2b2b35 · ΔE 1.7
Tritanopia
#2a3433 · ΔE 9.8
Achromatopsia
#2d2d2d · ΔE 6.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a2d38;
bg-[#2a2d38]
Related colors
Frequently asked questions
#2a2d38 (#2a2d38) is rgb(42, 45, 56) in RGB.
No, #2a2d38 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 #2a2d38, or check how it holds up for accessibility.