Color #3851b3
A moderately saturated medium blue.
Conversions
#3851b3
rgb(56, 81, 179)
hsl(227.8, 52.3%, 46.1%)
hsv(227.8, 68.7%, 70.2%)
cmyk(68.7%, 54.7%, 0%, 29.8%)
lab(37.8, 23.75, -54.98)
lch(37.8, 59.89, 293.36)
oklch(47.3%, 0.1581, 268.8)
hwb(227.8, 22%, 29.8%)
Harmony colors
Accessibility
White text reads better on this background (7.01:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4444a2 · ΔE 5.5
Deuteranopia
#43419e · ΔE 6.5
Tritanopia
#3a938f · ΔE 36
Achromatopsia
#595959 · ΔE 25.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3851b3;
bg-[#3851b3]
Related colors
Frequently asked questions
#3851b3 (#3851b3) is rgb(56, 81, 179) in RGB.
No, #3851b3 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 #3851b3, or check how it holds up for accessibility.