Color #342e48
A muted dark blue.
Conversions
#342e48
rgb(52, 46, 72)
hsl(253.8, 22%, 23.1%)
hsv(253.8, 36.1%, 28.2%)
cmyk(27.8%, 36.1%, 0%, 71.8%)
lab(20.64, 9.39, -15.19)
lch(20.64, 17.86, 301.72)
oklch(32%, 0.0461, 294.18)
hwb(253.8, 18%, 71.8%)
Harmony colors
Accessibility
White text reads better on this background (12.88:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#313143 · ΔE 4.7
Deuteranopia
#323241 · ΔE 6
Tritanopia
#343e3d · ΔE 18.2
Achromatopsia
#323232 · ΔE 14.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #342e48;
bg-[#342e48]
Related colors
Frequently asked questions
#342e48 (#342e48) is rgb(52, 46, 72) in RGB.
No, #342e48 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 #342e48, or check how it holds up for accessibility.