Color #342d4e
A muted dark blue.
Conversions
#342d4e
rgb(52, 45, 78)
hsl(252.7, 26.8%, 24.1%)
hsv(252.7, 42.3%, 30.6%)
cmyk(33.3%, 42.3%, 0%, 69.4%)
lab(20.66, 11.88, -19.21)
lch(20.66, 22.59, 301.73)
oklch(32.1%, 0.0581, 292.55)
hwb(252.7, 17.6%, 69.4%)
Harmony colors
Accessibility
White text reads better on this background (12.87:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#313148 · ΔE 4.9
Deuteranopia
#323246 · ΔE 6.1
Tritanopia
#344241 · ΔE 21.2
Achromatopsia
#323232 · ΔE 16.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #342d4e;
bg-[#342d4e]
Related colors
Frequently asked questions
#342d4e (#342d4e) is rgb(52, 45, 78) in RGB.
No, #342d4e 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 #342d4e, or check how it holds up for accessibility.