Color #342f44
A muted dark blue.
Conversions
#342f44
rgb(52, 47, 68)
hsl(254.3, 18.3%, 22.5%)
hsv(254.3, 30.9%, 26.7%)
cmyk(23.5%, 30.9%, 0%, 73.3%)
lab(20.75, 7.55, -12.31)
lch(20.75, 14.44, 301.52)
oklch(32%, 0.0374, 295.13)
hwb(254.3, 18.4%, 73.3%)
Harmony colors
Accessibility
White text reads better on this background (12.84:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#323240 · ΔE 4.5
Deuteranopia
#32333f · ΔE 5.8
Tritanopia
#343c3b · ΔE 15.8
Achromatopsia
#323232 · ΔE 12.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #342f44;
bg-[#342f44]
Related colors
Frequently asked questions
#342f44 (#342f44) is rgb(52, 47, 68) in RGB.
No, #342f44 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 #342f44, or check how it holds up for accessibility.