Color #2a5144
A muted dark green.
Conversions
#2a5144
rgb(42, 81, 68)
hsl(160, 31.7%, 24.1%)
hsv(160, 48.1%, 31.8%)
cmyk(48.1%, 0%, 16%, 68.2%)
lab(31.33, -17.43, 3.37)
lch(31.33, 17.75, 169.06)
oklch(40.2%, 0.05, 170.1)
hwb(160, 16.5%, 68.2%)
Harmony colors
Accessibility
White text reads better on this background (8.9:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3e3f47 · ΔE 19.7
Deuteranopia
#3c3948 · ΔE 24.2
Tritanopia
#2d4a4b · ΔE 8
Achromatopsia
#4a4a4a · ΔE 16.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a5144;
bg-[#2a5144]
Related colors
Frequently asked questions
#2a5144 (#2a5144) is rgb(42, 81, 68) in RGB.
No, #2a5144 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 #2a5144, or check how it holds up for accessibility.