Color #2f4077
A moderately saturated dark blue.
Conversions
#2f4077
rgb(47, 64, 119)
hsl(225.8, 43.4%, 32.5%)
hsv(225.8, 60.5%, 46.7%)
cmyk(60.5%, 46.2%, 0%, 53.3%)
lab(28.39, 11.4, -33.64)
lch(28.39, 35.52, 288.72)
oklch(38.7%, 0.0958, 268.68)
hwb(225.8, 18.4%, 53.3%)
Harmony colors
Accessibility
White text reads better on this background (9.9:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#37376d · ΔE 4.7
Deuteranopia
#36356a · ΔE 5.3
Tritanopia
#306462 · ΔE 26.2
Achromatopsia
#434343 · ΔE 20.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f4077;
bg-[#2f4077]
Related colors
Frequently asked questions
#2f4077 (#2f4077) is rgb(47, 64, 119) in RGB.
No, #2f4077 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 #2f4077, or check how it holds up for accessibility.