Color #342e4d
A muted dark blue.
Conversions
#342e4d
rgb(52, 46, 77)
hsl(251.6, 25.2%, 24.1%)
hsv(251.6, 40.3%, 30.2%)
cmyk(32.5%, 40.3%, 0%, 69.8%)
lab(20.9, 10.88, -18.16)
lch(20.9, 21.17, 300.93)
oklch(32.2%, 0.0546, 291.96)
hwb(251.6, 18%, 69.8%)
Harmony colors
Accessibility
White text reads better on this background (12.77:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#313147 · ΔE 4.5
Deuteranopia
#323245 · ΔE 5.7
Tritanopia
#344240 · ΔE 21
Achromatopsia
#323232 · ΔE 15.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #342e4d;
bg-[#342e4d]
Related colors
Frequently asked questions
#342e4d (#342e4d) is rgb(52, 46, 77) in RGB.
No, #342e4d 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 #342e4d, or check how it holds up for accessibility.