Color #2f4276
A moderately saturated dark blue.
Conversions
#2f4276
rgb(47, 66, 118)
hsl(223.9, 43%, 32.4%)
hsv(223.9, 60.2%, 46.3%)
cmyk(60.2%, 44.1%, 0%, 53.7%)
lab(28.92, 9.67, -32.15)
lch(28.92, 33.57, 286.74)
oklch(39.1%, 0.0915, 266.99)
hwb(223.9, 18.4%, 53.7%)
Harmony colors
Accessibility
White text reads better on this background (9.71:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#38386c · ΔE 5.3
Deuteranopia
#37366a · ΔE 5.9
Tritanopia
#306462 · ΔE 25.6
Achromatopsia
#444444 · ΔE 19.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f4276;
bg-[#2f4276]
Related colors
Frequently asked questions
#2f4276 (#2f4276) is rgb(47, 66, 118) in RGB.
No, #2f4276 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 #2f4276, or check how it holds up for accessibility.