Color #1d5040
A moderately saturated dark green.
Conversions
#1d5040
rgb(29, 80, 64)
hsl(161.2, 46.8%, 21.4%)
hsv(161.2, 63.8%, 31.4%)
cmyk(63.7%, 0%, 20%, 68.6%)
lab(30.32, -21.5, 4.39)
lch(30.32, 21.94, 168.46)
oklch(39.2%, 0.0613, 169.48)
hwb(161.2, 11.4%, 68.6%)
Harmony colors
Accessibility
White text reads better on this background (9.24:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3a3a44 · ΔE 23.1
Deuteranopia
#373345 · ΔE 27.5
Tritanopia
#224748 · ΔE 9.2
Achromatopsia
#474747 · ΔE 18.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1d5040;
bg-[#1d5040]
Related colors
Frequently asked questions
#1d5040 (#1d5040) is rgb(29, 80, 64) in RGB.
No, #1d5040 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 #1d5040, or check how it holds up for accessibility.