Color #2b396b
A moderately saturated dark blue.
Conversions
#2b396b
rgb(43, 57, 107)
hsl(226.9, 42.7%, 29.4%)
hsv(226.9, 59.8%, 42%)
cmyk(59.8%, 46.7%, 0%, 58%)
lab(25.26, 10.88, -31)
lch(25.26, 32.85, 289.34)
oklch(36%, 0.0883, 269.74)
hwb(226.9, 16.9%, 58%)
Harmony colors
Accessibility
White text reads better on this background (11.05:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#323262 · ΔE 4.1
Deuteranopia
#31305f · ΔE 4.7
Tritanopia
#2c5a58 · ΔE 25.5
Achromatopsia
#3c3c3c · ΔE 19.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2b396b;
bg-[#2b396b]
Related colors
Frequently asked questions
#2b396b (#2b396b) is rgb(43, 57, 107) in RGB.
No, #2b396b 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 #2b396b, or check how it holds up for accessibility.