Color #2a5145
A muted dark green.
Conversions
#2a5145
rgb(42, 81, 69)
hsl(161.5, 31.7%, 24.1%)
hsv(161.5, 48.1%, 31.8%)
cmyk(48.1%, 0%, 14.8%, 68.2%)
lab(31.36, -17.16, 2.77)
lch(31.36, 17.38, 170.83)
oklch(40.2%, 0.0493, 171.72)
hwb(161.5, 16.5%, 68.2%)
Harmony colors
Accessibility
White text reads better on this background (8.89:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3e3f48 · ΔE 19.8
Deuteranopia
#3c3949 · ΔE 24.3
Tritanopia
#2d4a4b · ΔE 7.6
Achromatopsia
#4a4a4a · ΔE 16.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a5145;
bg-[#2a5145]
Related colors
Frequently asked questions
#2a5145 (#2a5145) is rgb(42, 81, 69) in RGB.
No, #2a5145 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 #2a5145, or check how it holds up for accessibility.