Color #2f508d
A moderately saturated dark blue.
Conversions
#2f508d
rgb(47, 80, 141)
hsl(218.9, 50%, 36.9%)
hsv(218.9, 66.7%, 55.3%)
cmyk(66.7%, 43.3%, 0%, 44.7%)
lab(34.53, 8.81, -37.48)
lch(34.53, 38.5, 283.23)
oklch(43.8%, 0.1081, 261.59)
hwb(218.9, 18.4%, 44.7%)
Harmony colors
Accessibility
White text reads better on this background (7.92:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#404081 · ΔE 8.1
Deuteranopia
#3e3b7f · ΔE 9.4
Tritanopia
#317775 · ΔE 26.9
Achromatopsia
#515151 · ΔE 20.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f508d;
bg-[#2f508d]
Related colors
Frequently asked questions
#2f508d (#2f508d) is rgb(47, 80, 141) in RGB.
No, #2f508d 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 #2f508d, or check how it holds up for accessibility.