Color #2f4079
A moderately saturated dark blue.
Conversions
#2f4079
rgb(47, 64, 121)
hsl(226.2, 44%, 32.9%)
hsv(226.2, 61.2%, 47.5%)
cmyk(61.2%, 47.1%, 0%, 52.5%)
lab(28.51, 12.13, -34.69)
lch(28.51, 36.75, 289.27)
oklch(38.8%, 0.0989, 268.96)
hwb(226.2, 18.4%, 52.5%)
Harmony colors
Accessibility
White text reads better on this background (9.86:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#37376e · ΔE 4.7
Deuteranopia
#36356c · ΔE 5.2
Tritanopia
#306563 · ΔE 26.6
Achromatopsia
#434343 · ΔE 20.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f4079;
bg-[#2f4079]
Related colors
Frequently asked questions
#2f4079 (#2f4079) is rgb(47, 64, 121) in RGB.
No, #2f4079 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 #2f4079, or check how it holds up for accessibility.