Color #342b4e
A muted dark blue.
Conversions
#342b4e
rgb(52, 43, 78)
hsl(255.4, 28.9%, 23.7%)
hsv(255.4, 44.9%, 30.6%)
cmyk(33.3%, 44.9%, 0%, 69.4%)
lab(20.08, 13.27, -20.13)
lch(20.08, 24.11, 303.39)
oklch(31.6%, 0.0618, 294.45)
hwb(255.4, 16.9%, 69.4%)
Harmony colors
Accessibility
White text reads better on this background (13.11:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#303047 · ΔE 5.8
Deuteranopia
#313146 · ΔE 6.6
Tritanopia
#344140 · ΔE 21.5
Achromatopsia
#303030 · ΔE 17.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #342b4e;
bg-[#342b4e]
Related colors
Frequently asked questions
#342b4e (#342b4e) is rgb(52, 43, 78) in RGB.
No, #342b4e 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 #342b4e, or check how it holds up for accessibility.