Color #2a4039
A muted dark green.
Conversions
#2a4039
rgb(42, 64, 57)
hsl(160.9, 20.8%, 20.8%)
hsv(160.9, 34.4%, 25.1%)
cmyk(34.4%, 0%, 10.9%, 74.9%)
lab(25.12, -10.47, 1.52)
lch(25.12, 10.58, 171.74)
oklch(35.1%, 0.0304, 172.62)
hwb(160.9, 16.5%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (11.11:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#35353b · ΔE 14.4
Deuteranopia
#33323b · ΔE 16.3
Tritanopia
#2b3c3c · ΔE 4.8
Achromatopsia
#3c3c3c · ΔE 11.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a4039;
bg-[#2a4039]
Related colors
Frequently asked questions
#2a4039 (#2a4039) is rgb(42, 64, 57) in RGB.
No, #2a4039 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 #2a4039, or check how it holds up for accessibility.