Color #2e3b9b
A moderately saturated dark blue.
Conversions
#2e3b9b
rgb(46, 59, 155)
hsl(232.8, 54.2%, 39.4%)
hsv(232.8, 70.3%, 60.8%)
cmyk(70.3%, 61.9%, 0%, 39.2%)
lab(29.6, 27.96, -53.97)
lch(29.6, 60.78, 297.39)
oklch(40.4%, 0.1558, 271.58)
hwb(232.8, 18%, 39.2%)
Harmony colors
Accessibility
White text reads better on this background (9.48:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#34348b · ΔE 3.3
Deuteranopia
#333287 · ΔE 4.1
Tritanopia
#2f7d79 · ΔE 35.2
Achromatopsia
#464646 · ΔE 25.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e3b9b;
bg-[#2e3b9b]
Related colors
Frequently asked questions
#2e3b9b (#2e3b9b) is rgb(46, 59, 155) in RGB.
No, #2e3b9b 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 #2e3b9b, or check how it holds up for accessibility.