Color #342d4c
A muted dark blue.
Conversions
#342d4c
rgb(52, 45, 76)
hsl(253.5, 25.6%, 23.7%)
hsv(253.5, 40.8%, 29.8%)
cmyk(31.6%, 40.8%, 0%, 70.2%)
lab(20.55, 11.27, -18.03)
lch(20.55, 21.26, 302.01)
oklch(32%, 0.0548, 293.43)
hwb(253.5, 17.6%, 70.2%)
Harmony colors
Accessibility
White text reads better on this background (12.92:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#313146 · ΔE 5.2
Deuteranopia
#323244 · ΔE 6.4
Tritanopia
#34413f · ΔE 21
Achromatopsia
#313131 · ΔE 15.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #342d4c;
bg-[#342d4c]
Related colors
Frequently asked questions
#342d4c (#342d4c) is rgb(52, 45, 76) in RGB.
No, #342d4c 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 #342d4c, or check how it holds up for accessibility.