Color #343a5f
A muted dark blue.
Conversions
#343a5f
rgb(52, 58, 95)
hsl(231.6, 29.3%, 28.8%)
hsv(231.6, 45.3%, 37.3%)
cmyk(45.3%, 38.9%, 0%, 62.7%)
lab(25.51, 8.35, -22.82)
lch(25.51, 24.3, 290.1)
oklch(36.1%, 0.0644, 275.7)
hwb(231.6, 20.4%, 62.7%)
Harmony colors
Accessibility
White text reads better on this background (10.96:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#373758 · ΔE 2.5
Deuteranopia
#363656 · ΔE 2.8
Tritanopia
#345150 · ΔE 22.3
Achromatopsia
#3c3c3c · ΔE 16.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #343a5f;
bg-[#343a5f]
Related colors
Frequently asked questions
#343a5f (#343a5f) is rgb(52, 58, 95) in RGB.
No, #343a5f 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 #343a5f, or check how it holds up for accessibility.