Color #3a5d8a
A moderately saturated dark blue.
Conversions
#3a5d8a
rgb(58, 93, 138)
hsl(213.8, 40.8%, 38.4%)
hsv(213.8, 58%, 54.1%)
cmyk(58%, 32.6%, 0%, 45.9%)
lab(38.83, 1.6, -28.8)
lch(38.83, 28.84, 273.18)
oklch(47.3%, 0.0839, 255.3)
hwb(213.8, 22.7%, 45.9%)
Harmony colors
Accessibility
White text reads better on this background (6.75:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#4c4c81 · ΔE 10
Deuteranopia
#49477f · ΔE 11
Tritanopia
#3c7977 · ΔE 22.4
Achromatopsia
#5b5b5b · ΔE 17.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a5d8a;
bg-[#3a5d8a]
Related colors
Frequently asked questions
#3a5d8a (#3a5d8a) is rgb(58, 93, 138) in RGB.
No, #3a5d8a 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 #3a5d8a, or check how it holds up for accessibility.