Color #2e5baa
A moderately saturated medium blue.
Conversions
#2e5baa
rgb(46, 91, 170)
hsl(218.2, 57.4%, 42.4%)
hsv(218.2, 72.9%, 66.7%)
cmyk(72.9%, 46.5%, 0%, 33.3%)
lab(39.52, 12.36, -46.92)
lch(39.52, 48.52, 284.76)
oklch(48.3%, 0.1362, 260.75)
hwb(218.2, 18%, 33.3%)
Harmony colors
Accessibility
White text reads better on this background (6.58:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#46469b · ΔE 9.7
Deuteranopia
#434098 · ΔE 11.2
Tritanopia
#318f8c · ΔE 31.7
Achromatopsia
#5d5d5d · ΔE 23.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e5baa;
bg-[#2e5baa]
Related colors
Frequently asked questions
#2e5baa (#2e5baa) is rgb(46, 91, 170) in RGB.
No, #2e5baa 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 #2e5baa, or check how it holds up for accessibility.