Color #342955
A muted dark blue.
Conversions
#342955
rgb(52, 41, 85)
hsl(255, 34.9%, 24.7%)
hsv(255, 51.8%, 33.3%)
cmyk(38.8%, 51.8%, 0%, 66.7%)
lab(19.93, 16.82, -25.05)
lch(19.93, 30.17, 303.88)
oklch(31.7%, 0.0768, 292.99)
hwb(255, 16.1%, 66.7%)
Harmony colors
Accessibility
White text reads better on this background (13.17:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#302f4d · ΔE 5.3
Deuteranopia
#30314b · ΔE 7
Tritanopia
#344644 · ΔE 24.1
Achromatopsia
#303030 · ΔE 19.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #342955;
bg-[#342955]
Related colors
Frequently asked questions
#342955 (#342955) is rgb(52, 41, 85) in RGB.
No, #342955 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 #342955, or check how it holds up for accessibility.