Color #2f334a
A muted dark blue.
Conversions
#2f334a
rgb(47, 51, 74)
hsl(231.1, 22.3%, 23.7%)
hsv(231.1, 36.5%, 29%)
cmyk(36.5%, 31.1%, 0%, 71%)
lab(21.82, 4.76, -14.75)
lch(21.82, 15.5, 287.89)
oklch(32.8%, 0.0411, 276.28)
hwb(231.1, 18.4%, 71%)
Harmony colors
Accessibility
White text reads better on this background (12.4:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#313145 · ΔE 2
Deuteranopia
#313044 · ΔE 2.5
Tritanopia
#2f4140 · ΔE 16.9
Achromatopsia
#343434 · ΔE 12
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f334a;
bg-[#2f334a]
Related colors
Frequently asked questions
#2f334a (#2f334a) is rgb(47, 51, 74) in RGB.
No, #2f334a 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 #2f334a, or check how it holds up for accessibility.