Color #2a2e36
A nearly neutral, gray-leaning very dark blue.
Conversions
#2a2e36
rgb(42, 46, 54)
hsl(220, 12.5%, 18.8%)
hsv(220, 22.2%, 21.2%)
cmyk(22.2%, 14.8%, 0%, 78.8%)
lab(18.85, 0.38, -5.7)
lch(18.85, 5.71, 273.81)
oklch(30.1%, 0.0156, 264.47)
hwb(220, 16.5%, 78.8%)
Harmony colors
Accessibility
White text reads better on this background (13.61:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2c2c34 · ΔE 2.5
Deuteranopia
#2c2b34 · ΔE 3.4
Tritanopia
#2a3332 · ΔE 7.4
Achromatopsia
#2e2e2e · ΔE 5.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a2e36;
bg-[#2a2e36]
Related colors
Frequently asked questions
#2a2e36 (#2a2e36) is rgb(42, 46, 54) in RGB.
No, #2a2e36 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 #2a2e36, or check how it holds up for accessibility.