Color #342f4d
A muted dark blue.
Conversions
#342f4d
rgb(52, 47, 77)
hsl(250, 24.2%, 24.3%)
hsv(250, 39%, 30.2%)
cmyk(32.5%, 39%, 0%, 69.8%)
lab(21.2, 10.19, -17.69)
lch(21.2, 20.41, 299.94)
oklch(32.5%, 0.0527, 290.77)
hwb(250, 18.4%, 69.8%)
Harmony colors
Accessibility
White text reads better on this background (12.65:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#323247 · ΔE 4.4
Deuteranopia
#323346 · ΔE 5.5
Tritanopia
#344241 · ΔE 20.2
Achromatopsia
#333333 · ΔE 15.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #342f4d;
bg-[#342f4d]
Related colors
Frequently asked questions
#342f4d (#342f4d) is rgb(52, 47, 77) in RGB.
No, #342f4d 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 #342f4d, or check how it holds up for accessibility.