Color #2f3a40
A muted dark blue.
Conversions
#2f3a40
rgb(47, 58, 64)
hsl(201.2, 15.3%, 21.8%)
hsv(201.2, 26.6%, 25.1%)
cmyk(26.6%, 9.4%, 0%, 74.9%)
lab(23.67, -2.93, -5.22)
lch(23.67, 5.99, 240.69)
oklch(34.1%, 0.0181, 231.74)
hwb(201.2, 18.4%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (11.67:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#34343f · ΔE 7.9
Deuteranopia
#33333e · ΔE 8
Tritanopia
#303d3d · ΔE 4.4
Achromatopsia
#383838 · ΔE 5.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f3a40;
bg-[#2f3a40]
Related colors
Frequently asked questions
#2f3a40 (#2f3a40) is rgb(47, 58, 64) in RGB.
No, #2f3a40 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 #2f3a40, or check how it holds up for accessibility.