Color #2f476b
A muted dark blue.
Conversions
#2f476b
rgb(47, 71, 107)
hsl(216, 39%, 30.2%)
hsv(216, 56.1%, 42%)
cmyk(56.1%, 33.6%, 0%, 58%)
lab(29.84, 2.36, -23.74)
lch(29.84, 23.86, 275.68)
oklch(39.6%, 0.0682, 258.25)
hwb(216, 18.4%, 58%)
Harmony colors
Accessibility
White text reads better on this background (9.4:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3b3b64 · ΔE 8.1
Deuteranopia
#393762 · ΔE 9
Tritanopia
#315d5c · ΔE 20.4
Achromatopsia
#464646 · ΔE 15.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f476b;
bg-[#2f476b]
Related colors
Frequently asked questions
#2f476b (#2f476b) is rgb(47, 71, 107) in RGB.
No, #2f476b 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 #2f476b, or check how it holds up for accessibility.