Color #2f4840
A muted dark green.
Conversions
#2f4840
rgb(47, 72, 64)
hsl(160.8, 21%, 23.3%)
hsv(160.8, 34.7%, 28.2%)
cmyk(34.7%, 0%, 11.1%, 71.8%)
lab(28.4, -11.66, 1.74)
lch(28.4, 11.79, 171.51)
oklch(37.9%, 0.0338, 172.52)
hwb(160.8, 18.4%, 71.8%)
Harmony colors
Accessibility
White text reads better on this background (9.9:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3b3c42 · ΔE 14.8
Deuteranopia
#3a3843 · ΔE 18.4
Tritanopia
#314444 · ΔE 5.3
Achromatopsia
#434343 · ΔE 12.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f4840;
bg-[#2f4840]
Related colors
Frequently asked questions
#2f4840 (#2f4840) is rgb(47, 72, 64) in RGB.
No, #2f4840 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 #2f4840, or check how it holds up for accessibility.