Color #3f508b
A muted dark blue.
Conversions
#3f508b
rgb(63, 80, 139)
hsl(226.6, 37.6%, 39.6%)
hsv(226.6, 54.7%, 54.5%)
cmyk(54.7%, 42.4%, 0%, 45.5%)
lab(35.32, 11.48, -34.94)
lch(35.32, 36.78, 288.19)
oklch(44.7%, 0.0991, 269.94)
hwb(226.6, 24.7%, 45.5%)
Harmony colors
Accessibility
White text reads better on this background (7.69:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#474780 · ΔE 4.9
Deuteranopia
#46457d · ΔE 5.5
Tritanopia
#407674 · ΔE 26.7
Achromatopsia
#535353 · ΔE 20.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3f508b;
bg-[#3f508b]
Related colors
Frequently asked questions
#3f508b (#3f508b) is rgb(63, 80, 139) in RGB.
No, #3f508b 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 #3f508b, or check how it holds up for accessibility.