Color #334688
A moderately saturated dark blue.
Conversions
#334688
rgb(51, 70, 136)
hsl(226.6, 45.5%, 36.7%)
hsv(226.6, 62.5%, 53.3%)
cmyk(62.5%, 48.5%, 0%, 46.7%)
lab(31.49, 14.41, -39.26)
lch(31.49, 41.82, 290.16)
oklch(41.5%, 0.1122, 269.03)
hwb(226.6, 20%, 46.7%)
Harmony colors
Accessibility
White text reads better on this background (8.85:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3c3c7c · ΔE 5
Deuteranopia
#3b3979 · ΔE 5.8
Tritanopia
#34716f · ΔE 28.3
Achromatopsia
#4a4a4a · ΔE 21.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #334688;
bg-[#334688]
Related colors
Frequently asked questions
#334688 (#334688) is rgb(51, 70, 136) in RGB.
No, #334688 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 #334688, or check how it holds up for accessibility.