Color #315147
A muted dark green.
Conversions
#315147
rgb(49, 81, 71)
hsl(161.3, 24.6%, 25.5%)
hsv(161.3, 39.5%, 31.8%)
cmyk(39.5%, 0%, 12.3%, 68.2%)
lab(31.79, -14.42, 2.17)
lch(31.79, 14.58, 171.44)
oklch(40.7%, 0.0417, 172.41)
hwb(161.3, 19.2%, 68.2%)
Harmony colors
Accessibility
White text reads better on this background (8.76:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#41414a · ΔE 18.5
Deuteranopia
#3f3d4a · ΔE 21.1
Tritanopia
#334c4c · ΔE 6
Achromatopsia
#4b4b4b · ΔE 14.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #315147;
bg-[#315147]
Related colors
Frequently asked questions
#315147 (#315147) is rgb(49, 81, 71) in RGB.
No, #315147 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 #315147, or check how it holds up for accessibility.