Color #2e4e81
A moderately saturated dark blue.
Conversions
#2e4e81
rgb(46, 78, 129)
hsl(216.9, 47.4%, 34.3%)
hsv(216.9, 64.3%, 50.6%)
cmyk(64.3%, 39.5%, 0%, 49.4%)
lab(33.17, 5.47, -32.27)
lch(33.17, 32.73, 279.62)
oklch(42.5%, 0.0933, 259.32)
hwb(216.9, 18%, 49.4%)
Harmony colors
Accessibility
White text reads better on this background (8.32:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3e3e77 · ΔE 8.5
Deuteranopia
#3c3a75 · ΔE 9.4
Tritanopia
#306f6d · ΔE 24.7
Achromatopsia
#4e4e4e · ΔE 19
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e4e81;
bg-[#2e4e81]
Related colors
Frequently asked questions
#2e4e81 (#2e4e81) is rgb(46, 78, 129) in RGB.
No, #2e4e81 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 #2e4e81, or check how it holds up for accessibility.