Color #2e5a71
A moderately saturated dark blue.
Conversions
#2e5a71
rgb(46, 90, 113)
hsl(200.6, 42.1%, 31.2%)
hsv(200.6, 59.3%, 44.3%)
cmyk(59.3%, 20.4%, 0%, 55.7%)
lab(36.15, -7.84, -17.71)
lch(36.15, 19.37, 246.12)
oklch(44.6%, 0.0616, 233.32)
hwb(200.6, 18%, 55.7%)
Harmony colors
Accessibility
White text reads better on this background (7.45:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#45466c · ΔE 16.7
Deuteranopia
#433f6b · ΔE 18
Tritanopia
#316867 · ΔE 13.3
Achromatopsia
#555555 · ΔE 14.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e5a71;
bg-[#2e5a71]
Related colors
Frequently asked questions
#2e5a71 (#2e5a71) is rgb(46, 90, 113) in RGB.
No, #2e5a71 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 #2e5a71, or check how it holds up for accessibility.