Color #345a97
A moderately saturated dark blue.
Conversions
#345a97
rgb(52, 90, 151)
hsl(217, 48.8%, 39.8%)
hsv(217, 65.6%, 59.2%)
cmyk(65.6%, 40.4%, 0%, 40.8%)
lab(38.33, 6.9, -37.46)
lch(38.33, 38.09, 280.44)
oklch(47%, 0.1084, 259.48)
hwb(217, 20.4%, 40.8%)
Harmony colors
Accessibility
White text reads better on this background (6.87:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#47488b · ΔE 9.2
Deuteranopia
#454288 · ΔE 10.8
Tritanopia
#37817f · ΔE 26.7
Achromatopsia
#5a5a5a · ΔE 20.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #345a97;
bg-[#345a97]
Related colors
Frequently asked questions
#345a97 (#345a97) is rgb(52, 90, 151) in RGB.
No, #345a97 is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #345a97, or check how it holds up for accessibility.