Color #2f3851
A muted dark blue.
Conversions
#2f3851
rgb(47, 56, 81)
hsl(224.1, 26.6%, 25.1%)
hsv(224.1, 42%, 31.8%)
cmyk(42%, 30.9%, 0%, 68.2%)
lab(23.76, 3.57, -16.41)
lch(23.76, 16.79, 282.27)
oklch(34.4%, 0.0457, 268.75)
hwb(224.1, 18.4%, 68.2%)
Harmony colors
Accessibility
White text reads better on this background (11.63:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#33334c · ΔE 4.2
Deuteranopia
#33324b · ΔE 4.7
Tritanopia
#2f4746 · ΔE 17.4
Achromatopsia
#393939 · ΔE 12.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f3851;
bg-[#2f3851]
Related colors
Frequently asked questions
#2f3851 (#2f3851) is rgb(47, 56, 81) in RGB.
No, #2f3851 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 #2f3851, or check how it holds up for accessibility.