Color #1e3771
A moderately saturated dark blue.
Conversions
#1e3771
rgb(30, 55, 113)
hsl(221.9, 58%, 28%)
hsv(221.9, 73.5%, 44.3%)
cmyk(73.5%, 51.3%, 0%, 55.7%)
lab(24.32, 12.05, -36.4)
lch(24.32, 38.34, 288.32)
oklch(35.2%, 0.1049, 264.2)
hwb(221.9, 11.8%, 55.7%)
Harmony colors
Accessibility
White text reads better on this background (11.41:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2b67 · ΔE 5.9
Deuteranopia
#292764 · ΔE 6.9
Tritanopia
#205d5b · ΔE 27
Achromatopsia
#3a3a3a · ΔE 21
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1e3771;
bg-[#1e3771]
Related colors
Frequently asked questions
#1e3771 (#1e3771) is rgb(30, 55, 113) in RGB.
No, #1e3771 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 #1e3771, or check how it holds up for accessibility.