Color #2e3f72
A moderately saturated dark blue.
Conversions
#2e3f72
rgb(46, 63, 114)
hsl(225, 42.5%, 31.4%)
hsv(225, 59.6%, 44.7%)
cmyk(59.6%, 44.7%, 0%, 55.3%)
lab(27.71, 10.02, -31.56)
lch(27.71, 33.11, 287.61)
oklch(38%, 0.0898, 268.08)
hwb(225, 18%, 55.3%)
Harmony colors
Accessibility
White text reads better on this background (10.14:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#363668 · ΔE 4.9
Deuteranopia
#353466 · ΔE 5.4
Tritanopia
#2f605e · ΔE 25.4
Achromatopsia
#414141 · ΔE 19.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e3f72;
bg-[#2e3f72]
Related colors
Frequently asked questions
#2e3f72 (#2e3f72) is rgb(46, 63, 114) in RGB.
No, #2e3f72 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 #2e3f72, or check how it holds up for accessibility.