Color #342f46
A muted dark blue.
Conversions
#342f46
rgb(52, 47, 70)
hsl(253, 19.7%, 22.9%)
hsv(253, 32.9%, 27.5%)
cmyk(25.7%, 32.9%, 0%, 72.5%)
lab(20.85, 8.12, -13.52)
lch(20.85, 15.77, 300.99)
oklch(32.1%, 0.0408, 293.99)
hwb(253, 18.4%, 72.5%)
Harmony colors
Accessibility
White text reads better on this background (12.8:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#323241 · ΔE 4.7
Deuteranopia
#323340 · ΔE 6
Tritanopia
#343d3c · ΔE 16.8
Achromatopsia
#323232 · ΔE 12.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #342f46;
bg-[#342f46]
Related colors
Frequently asked questions
#342f46 (#342f46) is rgb(52, 47, 70) in RGB.
No, #342f46 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 #342f46, or check how it holds up for accessibility.