Color #1f5145
A moderately saturated dark green.
Conversions
#1f5145
rgb(31, 81, 69)
hsl(165.6, 44.6%, 22%)
hsv(165.6, 61.7%, 31.8%)
cmyk(61.7%, 0%, 14.8%, 68.2%)
lab(30.89, -20.15, 2.03)
lch(30.89, 20.25, 174.25)
oklch(39.7%, 0.0577, 174.93)
hwb(165.6, 12.2%, 68.2%)
Harmony colors
Accessibility
White text reads better on this background (9.05:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3b3b48 · ΔE 23.3
Deuteranopia
#383449 · ΔE 27.4
Tritanopia
#234a4b · ΔE 7.3
Achromatopsia
#494949 · ΔE 17.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f5145;
bg-[#1f5145]
Related colors
Frequently asked questions
#1f5145 (#1f5145) is rgb(31, 81, 69) in RGB.
No, #1f5145 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 #1f5145, or check how it holds up for accessibility.