Color #2e5b76
A moderately saturated dark blue.
Conversions
#2e5b76
rgb(46, 91, 118)
hsl(202.5, 43.9%, 32.2%)
hsv(202.5, 61%, 46.3%)
cmyk(61%, 22.9%, 0%, 53.7%)
lab(36.69, -6.74, -19.96)
lch(36.69, 21.07, 251.34)
oklch(45.1%, 0.0665, 237.1)
hwb(202.5, 18%, 53.7%)
Harmony colors
Accessibility
White text reads better on this background (7.31:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#464670 · ΔE 15.8
Deuteranopia
#43406f · ΔE 16.6
Tritanopia
#316b6a · ΔE 15
Achromatopsia
#565656 · ΔE 14.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e5b76;
bg-[#2e5b76]
Related colors
Frequently asked questions
#2e5b76 (#2e5b76) is rgb(46, 91, 118) in RGB.
No, #2e5b76 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 #2e5b76, or check how it holds up for accessibility.