Color #1f342f
A muted very dark green.
Conversions
#1f342f
rgb(31, 52, 47)
hsl(165.7, 25.3%, 16.3%)
hsv(165.7, 40.4%, 20.4%)
cmyk(40.4%, 0%, 9.6%, 79.6%)
lab(19.85, -9.79, 0.5)
lch(19.85, 9.8, 177.08)
oklch(30.6%, 0.0285, 177.59)
hwb(165.7, 12.2%, 79.6%)
Harmony colors
Accessibility
White text reads better on this background (13.2:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#292a30 · ΔE 13.2
Deuteranopia
#282731 · ΔE 16.1
Tritanopia
#203131 · ΔE 3.7
Achromatopsia
#303030 · ΔE 11
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f342f;
bg-[#1f342f]
Related colors
Frequently asked questions
#1f342f (#1f342f) is rgb(31, 52, 47) in RGB.
No, #1f342f 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 #1f342f, or check how it holds up for accessibility.