Color #343e5f
A muted dark blue.
Conversions
#343e5f
rgb(52, 62, 95)
hsl(226, 29.3%, 28.8%)
hsv(226, 45.3%, 37.3%)
cmyk(45.3%, 34.7%, 0%, 62.7%)
lab(26.74, 5.64, -20.89)
lch(26.74, 21.64, 285.11)
oklch(37%, 0.0585, 270.49)
hwb(226, 20.4%, 62.7%)
Harmony colors
Accessibility
White text reads better on this background (10.5:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#393958 · ΔE 3.9
Deuteranopia
#383757 · ΔE 4.4
Tritanopia
#355351 · ΔE 21.1
Achromatopsia
#3f3f3f · ΔE 14.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #343e5f;
bg-[#343e5f]
Related colors
Frequently asked questions
#343e5f (#343e5f) is rgb(52, 62, 95) in RGB.
No, #343e5f 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 #343e5f, or check how it holds up for accessibility.