Color #334b80
A moderately saturated dark blue.
Conversions
#334b80
rgb(51, 75, 128)
hsl(221.3, 43%, 35.1%)
hsv(221.3, 60.2%, 50.2%)
cmyk(60.2%, 41.4%, 0%, 49.8%)
lab(32.47, 8.15, -32.75)
lch(32.47, 33.75, 283.97)
oklch(42.1%, 0.0935, 264.35)
hwb(221.3, 20%, 49.8%)
Harmony colors
Accessibility
White text reads better on this background (8.54:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3f3f76 · ΔE 6.5
Deuteranopia
#3d3b73 · ΔE 7.5
Tritanopia
#356d6b · ΔE 25.3
Achromatopsia
#4c4c4c · ΔE 19.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #334b80;
bg-[#334b80]
Related colors
Frequently asked questions
#334b80 (#334b80) is rgb(51, 75, 128) in RGB.
No, #334b80 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 #334b80, or check how it holds up for accessibility.