Color #2a4959
A muted dark blue.
Conversions
#2a4959
rgb(42, 73, 89)
hsl(200.4, 35.9%, 25.7%)
hsv(200.4, 52.8%, 34.9%)
cmyk(52.8%, 18%, 0%, 65.1%)
lab(29.36, -6.43, -13.02)
lch(29.36, 14.52, 243.72)
oklch(38.8%, 0.0457, 232.1)
hwb(200.4, 16.5%, 65.1%)
Harmony colors
Accessibility
White text reads better on this background (9.56:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3a3a55 · ΔE 15.7
Deuteranopia
#383555 · ΔE 17.5
Tritanopia
#2c5352 · ΔE 10.7
Achromatopsia
#454545 · ΔE 11.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a4959;
bg-[#2a4959]
Related colors
Frequently asked questions
#2a4959 (#2a4959) is rgb(42, 73, 89) in RGB.
No, #2a4959 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 #2a4959, or check how it holds up for accessibility.