Color #342e50
A muted dark blue.
Conversions
#342e50
rgb(52, 46, 80)
hsl(250.6, 27%, 24.7%)
hsv(250.6, 42.5%, 31.4%)
cmyk(35%, 42.5%, 0%, 68.6%)
lab(21.07, 11.8, -19.91)
lch(21.07, 23.14, 300.65)
oklch(32.4%, 0.0596, 290.75)
hwb(250.6, 18%, 68.6%)
Harmony colors
Accessibility
White text reads better on this background (12.71:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#313149 · ΔE 4.5
Deuteranopia
#323248 · ΔE 5.3
Tritanopia
#344442 · ΔE 22.1
Achromatopsia
#333333 · ΔE 16.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #342e50;
bg-[#342e50]
Related colors
Frequently asked questions
#342e50 (#342e50) is rgb(52, 46, 80) in RGB.
No, #342e50 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 #342e50, or check how it holds up for accessibility.