Color #334685
A moderately saturated dark blue.
Conversions
#334685
rgb(51, 70, 133)
hsl(226.1, 44.6%, 36.1%)
hsv(226.1, 61.7%, 52.2%)
cmyk(61.7%, 47.4%, 0%, 47.8%)
lab(31.29, 13.31, -37.71)
lch(31.29, 39.99, 289.44)
oklch(41.3%, 0.1076, 268.72)
hwb(226.1, 20%, 47.8%)
Harmony colors
Accessibility
White text reads better on this background (8.92:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3c3c79 · ΔE 5.1
Deuteranopia
#3b3976 · ΔE 5.9
Tritanopia
#346f6d · ΔE 27.7
Achromatopsia
#4a4a4a · ΔE 21.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #334685;
bg-[#334685]
Related colors
Frequently asked questions
#334685 (#334685) is rgb(51, 70, 133) in RGB.
No, #334685 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 #334685, or check how it holds up for accessibility.