Color #334081
A moderately saturated dark blue.
Conversions
#334081
rgb(51, 64, 129)
hsl(230, 43.3%, 35.3%)
hsv(230, 60.5%, 50.6%)
cmyk(60.5%, 50.4%, 0%, 49.4%)
lab(29.3, 15.91, -38.43)
lch(29.3, 41.59, 292.49)
oklch(39.7%, 0.1099, 271.98)
hwb(230, 20%, 49.4%)
Harmony colors
Accessibility
White text reads better on this background (9.58:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#393975 · ΔE 3.7
Deuteranopia
#383772 · ΔE 4.4
Tritanopia
#346b68 · ΔE 28.5
Achromatopsia
#454545 · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #334081;
bg-[#334081]
Related colors
Frequently asked questions
#334081 (#334081) is rgb(51, 64, 129) in RGB.
No, #334081 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 #334081, or check how it holds up for accessibility.