Color #334270
A muted dark blue.
Conversions
#334270
rgb(51, 66, 112)
hsl(225.2, 37.4%, 32%)
hsv(225.2, 54.5%, 43.9%)
cmyk(54.5%, 41.1%, 0%, 56.1%)
lab(28.82, 8.47, -28.5)
lch(28.82, 29.73, 286.55)
oklch(38.9%, 0.0807, 268.79)
hwb(225.2, 20%, 56.1%)
Harmony colors
Accessibility
White text reads better on this background (9.75:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3a3a67 · ΔE 4.7
Deuteranopia
#393865 · ΔE 5.2
Tritanopia
#345f5e · ΔE 23.9
Achromatopsia
#444444 · ΔE 18.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #334270;
bg-[#334270]
Related colors
Frequently asked questions
#334270 (#334270) is rgb(51, 66, 112) in RGB.
No, #334270 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 #334270, or check how it holds up for accessibility.