Color #2e3770
A moderately saturated dark blue.
Conversions
#2e3770
rgb(46, 55, 112)
hsl(231.8, 41.8%, 31%)
hsv(231.8, 58.9%, 43.9%)
cmyk(58.9%, 50.9%, 0%, 56.1%)
lab(25.21, 14.8, -34.29)
lch(25.21, 37.35, 293.35)
oklch(36.1%, 0.0981, 273.74)
hwb(231.8, 18%, 56.1%)
Harmony colors
Accessibility
White text reads better on this background (11.07:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#323266 · ΔE 2.9
Deuteranopia
#323163 · ΔE 3.6
Tritanopia
#2e5d5a · ΔE 27.2
Achromatopsia
#3c3c3c · ΔE 20.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e3770;
bg-[#2e3770]
Related colors
Frequently asked questions
#2e3770 (#2e3770) is rgb(46, 55, 112) in RGB.
No, #2e3770 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 #2e3770, or check how it holds up for accessibility.