Color #34407e
A moderately saturated dark blue.
Conversions
#34407e
rgb(52, 64, 126)
hsl(230.3, 41.6%, 34.9%)
hsv(230.3, 58.7%, 49.4%)
cmyk(58.7%, 49.2%, 0%, 50.6%)
lab(29.17, 15.05, -36.77)
lch(29.17, 39.73, 292.26)
oklch(39.5%, 0.105, 272.51)
hwb(230.3, 20.4%, 50.6%)
Harmony colors
Accessibility
White text reads better on this background (9.63:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3a3a73 · ΔE 3.5
Deuteranopia
#393870 · ΔE 4.2
Tritanopia
#356966 · ΔE 27.9
Achromatopsia
#454545 · ΔE 21.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #34407e;
bg-[#34407e]
Related colors
Frequently asked questions
#34407e (#34407e) is rgb(52, 64, 126) in RGB.
No, #34407e 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 #34407e, or check how it holds up for accessibility.