Color #334997
A moderately saturated dark blue.
Conversions
#334997
rgb(51, 73, 151)
hsl(226.8, 49.5%, 39.6%)
hsv(226.8, 66.2%, 59.2%)
cmyk(66.2%, 51.7%, 0%, 40.8%)
lab(33.36, 17.93, -45.43)
lch(33.36, 48.84, 291.54)
oklch(43.2%, 0.1303, 268.59)
hwb(226.8, 20%, 40.8%)
Harmony colors
Accessibility
White text reads better on this background (8.27:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3e3e89 · ΔE 5.2
Deuteranopia
#3c3b86 · ΔE 5.9
Tritanopia
#347d7a · ΔE 31.3
Achromatopsia
#4e4e4e · ΔE 23.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #334997;
bg-[#334997]
Related colors
Frequently asked questions
#334997 (#334997) is rgb(51, 73, 151) in RGB.
No, #334997 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 #334997, or check how it holds up for accessibility.